ArcObjects Library Reference (GeoDatabase)  

ISelectionSet.Select Method

Returns a new selection That contains the object ids selected by a query over this selection set.

[Visual Basic .NET]
Public Function Select ( _
    ByVal QueryFilter As IQueryFilter, _
    ByVal selType As esriSelectionType, _
    ByVal selOption As esriSelectionOption, _
    ByVal selectionContainer As IWorkspace _
) As ISelectionSet
public ISelectionSet Select (
    IQueryFilter QueryFilter,
    esriSelectionType selType,
    esriSelectionOption selOption,
    IWorkspace selectionContainer
  IQueryFilter* QueryFilter,
  esriSelectionType selType,
  esriSelectionOption selOption,
  IWorkspace* selectionContainer,
  ISelectionSet** SelectionSet


QueryFilter [in]

  QueryFilter is a parameter of type IQueryFilter

selType [in]

  selType is a parameter of type esriSelectionType

selOption [in]

  selOption is a parameter of type esriSelectionOption

selectionContainer [in]

  selectionContainer is a parameter of type IWorkspace

SelectionSet [out, retval]

  SelectionSet is a parameter of type ISelectionSet

Product Availability

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


Select will return a new selection set. This subset of the original selection set will contain all of the rows that satisfy the attribute and/or spatial constraints as specified by the IQueryFilter object. If a null value is passed as the QueryFilter parameter, the new selection set will contain all of the rows from the original selection set.

When calling Select, the selectionContainer parameter is no longer needed; a null value can be provided.

See Also

ISelectionSet Interface