Selects a feature.
[Visual Basic 6.0] Sub SelectFeature(
ByVal Layer As ILayer, _
ByVal Feature As IFeature _
)
[Visual Basic .NET] Public Sub SelectFeature ( _ ByVal Layer As ILayer, _ ByVal Feature As IFeature _ )
[C#] public void SelectFeature ( ILayer Layer, IFeature Feature );
[Java] public void selectFeature ( ILayer Layer, IFeature Feature ) throws IOException, AutomationException
[C++] HRESULT SelectFeature( ILayer* Layer, IFeature* Feature );
Parameters
Layer [in]
Layer is a parameter of type ILayer
Feature [in]
Feature is a parameter of type IFeature
Adds the feature to the feature layer's selection set. For example, the Editor's 'Create New Feature' task uses this method to select the new feature it has just created. This method also calls IActiveViewEvents::SelectionChanged to notify all listeners of the event.