IFeatureGroup66

A feature group is a group of features within a layer that share the same geometry and display style. A feature layer can have multiple feature groups, each containing a homogeneous collection of point polyline, or polygon objects. This interface supplies properties and methods for interacting with a feature group. It returns and sets property values and annotation properties and provides methods for creating and removing features from a feature group.

If a feature group is an annotation feature group (these groups can be identified using the IsAnnotation method), the IFeatures66 that they return can only be used to query the point position of annotations and to read attribute values. Any values set for an annotation IFeature66 will not persist.

 

 

Properties

 

DisplayAs

Gets and sets the symbol type that is used to represent the features in the group.

Features

Obsolete. Use GetCurrentFeatures instead

GeometryType

Gets the geometry type of the features in the group.

TreeItem

An ITreeItem66 describing the representation of the group in the Project Tree.

 

Methods

 

CreateFeature

Adds a new feature to the feature group.

ExecuteGetDataSourceFeatureIdQuery

Returns a feature based on the feature ID it was assigned by the data source.

GetClassification

Returns a specified property value for group objects.

GetCurrentFeatures

Returns the features that are currently loaded when this method is called.

GetFeatureByObjectID

Return the feature based on object ID.

GetProperty

Returns the value set for the specified property.

IsAnnotation

Indicates whether the feature group contains annotation features.

IsClassified

Determines whether a value was set for a specified property.

RemoveFeature

Removes a feature from the feature group.

SetClassification

Sets the value of a specified feature property.

SetProperty

Sets a value for the specified property.