GetClassification

This method returns a specified property value for group features.

 

JavaScript

 

GetClassification(

       Name)

 

C#

 

string GetClassification(

       string Name)

 

C++

 

HRESULT GetClassification(

       BSTR Name,

       BSTR* pValue)

Parameters

Name

The name of the property. The parameter can be a name of any property field as it appears in the Layer property sheet in TerraExplorer (e.g., “Line Color”).

Return Value

pValue

The value of the property as defined in the propValType parameter. This parameter can be any of the following:

·          The type expected for the specified property. For example, “Line Color” returns a long type value.

·          A valid expression encapsulated in “<” and “>” marks, as defined in the user manual. See:“Feature Layers” chapter in the User Manual.

·          An XML string, See: the SetClassification method description.

Exceptions

See: HRESULT Return Values for a list of possible values returned by the HRESULT.