This document is archived and information here might be outdated. Recommended version. |
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
[C#] public ISelectionSet Select ( IQueryFilter QueryFilter, esriSelectionType selType, esriSelectionOption selOption, IWorkspace selectionContainer );
[C++]
HRESULT Select(
IQueryFilter* QueryFilter,
esriSelectionType selType,
esriSelectionOption selOption,
IWorkspace* selectionContainer
);
[C++] Parameters 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*
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.