Returns or sets the specified properties for the map.
Read-write property
object.UserProperties ( Name ) = [ value ] |
- Name
- Required. A String that specifies the name of the property user defines.
Variant
Use Map.UserProperties to persist any property you want to save with the map.
VBScript Write Example:
Map.UserProperties("NAME") = "STEPHEN"
VBScript Read Example:
MsgBox Map.UserProperties("NAME")
When the user name is saved with the map, the APM will have the following:
<ArcPad>
<MAP>
<PROPERTIES>
<PROPERTY name="NAME" value="STEPHEN" />
</PROPERTIES>
</MAP>
</ArcPad>