Home > All Other Interfaces > IFeatureGroup > SetProperty
This method sets the value of a specified property of the specified group’s features. Unlike the SetClassification method, SetProperty cannot set classification values. See: SetClassification for further details.
JavaScript |
|
SetProperty( Name, Value) |
C# |
|
void SetProperty( string Name, object Value) |
C++ |
|
HRESULT SetProperty( BSTR Name, VARIANT Value) |
Parameters
Name
The name of the property to set. The parameter can be a name of any property field as it appears in the Layer properties sheet in TerraExplorer (e.g., “Line Color”).
Value
The value to assign to the property. Pass the type that is expected for the specified property. For example, for “Line Color” pass a long type value.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.