This document is archived and information here might be outdated.  Recommended version.


IFeatureSelection.SelectFeatures Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IF > IFeatureSelection Interface > IFeatureSelection.SelectFeatures Method
ArcGIS Developer Help

IFeatureSelection.SelectFeatures Method

Selects features based upon the specifed criteria and combination method.

[Visual Basic .NET]
Public Sub SelectFeatures ( _
    ByVal Filter As IQueryFilter, _
    ByVal Method As esriSelectionResultEnum, _
    ByVal justOne As Boolean _
)
[C#]
public void SelectFeatures (
    IQueryFilter Filter,
    esriSelectionResultEnum Method,
    bool justOne
);
[C++]
HRESULT SelectFeatures(
  IQueryFilter* Filter,
  esriSelectionResultEnum Method,
  VARIANT_BOOL justOne
);
[C++]
Parameters
Filter [in]

Filter is a parameter of type IQueryFilter* Method [in]
Method is a parameter of type esriSelectionResultEnum justOne [in]
justOne is a parameter of type bool

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IFeatureSelection Interface

.NET Samples

Executing geoprocessing tools in the background