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


ILockedFeatureSearch.SelectAndLock Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeodatabaseExtensions > ESRI.ArcGIS.GeoDatabaseExtensions > Interfaces > IL > ILockedFeatureSearch Interface > ILockedFeatureSearch.SelectAndLock Method
ArcGIS Developer Help

ILockedFeatureSearch.SelectAndLock Method

Selectes records that satisfy the query filter, selection type and selection option, and lockes them.

[Visual Basic .NET]
Public Function SelectAndLock ( _
    ByVal piQueryFilter As IQueryFilter, _
    ByVal selType As esriSelectionType, _
    ByVal selOption As esriSelectionOption, _
    ByVal piSelectionContainer As IWorkspace _
) As ISelectionSet
[C#]
public ISelectionSet SelectAndLock (
    IQueryFilter piQueryFilter,
    esriSelectionType selType,
    esriSelectionOption selOption,
    IWorkspace piSelectionContainer
);
[C++]
HRESULT SelectAndLock(
  IQueryFilter* piQueryFilter,
  esriSelectionType selType,
  esriSelectionOption selOption,
  IWorkspace* piSelectionContainer
);
[C++]
Parameters
piQueryFilter [in]

piQueryFilter is a parameter of type IQueryFilter* selType [in]
selType is a parameter of type esriSelectionType selOption [in]
selOption is a parameter of type esriSelectionOption piSelectionContainer [in]
piSelectionContainer is a parameter of type IWorkspace*

Product Availability

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

See Also

ILockedFeatureSearch Interface