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


ILockedFeatureSearch.SearchAndLock 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.SearchAndLock Method
ArcGIS Developer Help

ILockedFeatureSearch.SearchAndLock Method

Searches records that satisfy the query filter and lockes them.

[Visual Basic .NET]
Public Function SearchAndLock ( _
    ByVal piQueryFilter As IQueryFilter, _
    ByVal Recycling As Boolean _
) As ICursor
[C#]
public ICursor SearchAndLock (
    IQueryFilter piQueryFilter,
    bool Recycling
);
[C++]
HRESULT SearchAndLock(
  IQueryFilter* piQueryFilter,
  VARIANT_BOOL Recycling
);
[C++]
Parameters
piQueryFilter [in]

piQueryFilter is a parameter of type IQueryFilter* Recycling [in]
Recycling is a parameter of type bool

Product Availability

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

See Also

ILockedFeatureSearch Interface