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


ITableSelection.SelectRows Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

ITableSelection.SelectRows Method

Selects rows based upon the specified criteria and combination method.

[Visual Basic .NET]
Public Sub SelectRows ( _
    ByVal Filter As IQueryFilter, _
    ByVal Method As esriSelectionResultEnum, _
    ByVal justOne As Boolean _
)
[C#]
public void SelectRows (
    IQueryFilter Filter,
    esriSelectionResultEnum Method,
    bool justOne
);
[C++]
HRESULT SelectRows(
  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.

Description

The justOne parameter tells the search to stop once it has found one feature.

See Also

ITableSelection Interface