Returns or sets the specified preference.
Read-write property
object.Properties ( Property [,Index] ) = [ value ] |
- Property
- Required. A String that specifies the preference name.
- Index
- Optional. A Long that specifies the index for preferences that include multiple values (for example, "DataPath").
Variant
The Properties property is used to get or set the value of individual preferences. The following preferences are supported:
Here's an example of setting the Properties property:
Name | Description | Return Type | Multiple Values? |
---|---|---|---|
SystemPath | The System folder. | String | No |
AntennaHeight | The GPS antenna height. | Double | No |
AppletsPath | The Applets folder(s). | String | Yes |
GeoidSeparation | The geoid separation. | Double | No |
StylesPath | The Styles folder(s). | String | Yes |
DataPath | The Maps and Data folder(s). | String | Yes |
ExtensionsPath | The Extensions folder(s). | String | Yes |
Preferences.Properties("DataPath") = "\My Documents\Data;\Storage Card\My Documents\Data"