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


ILockedFeatureSearch.SearchAndLock Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabaseExtensions)  

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