SetFeature

This method sets the mode of SetProperty, SetValue and DisplayAs to only affect the features properties. Any call to SetProperty and SetValue, following a SetFeature call, affects the feature objects of the layer. This mode is set this way until another call to SetAnnotation or SetFeatureAndAnno is made.

 

HRESULT SetFeature()

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.