GetFeatureType

This method returns the feature geometries type (i.e., point, line or polygon features) in a layer.

 

HRESULT GetFeatureType(

[out, retval] BSTR* LayerType)

Parameters:

Return Values:

The return value obtained from the returned HRESULT can be one of the following:

 

Return value

Meaning

S_OK

Success.

E_FAIL

Catastrophic failure.