Returns the value set for the specified property. See "SetProperty" for more information.
JavaScript |
|
GetProperty( Name) |
C# |
|
dynamic GetProperty( string Name) |
C++ |
|
HRESULT GetProperty( BSTR Name, VARIANT* pValue) |
Parameters
Name
The name of the property whose value is being returned. The parameter can be a name of any property field as it appears in the Layer property sheet in TerraExplorer (e.g., “Line Color”).
Note: This parameter must be in English even when the user interface is in a different language.
Return Value
pValue
The value assigned to the property. Pass the variable type that is expected for the specified property, e.g. for “Line Color” pass a long type value. If the property is a drop-down menu, the zero-based integer index of the order in the list is passed. See "SetProperty" for more information.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.