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


ILockedFeatureSearch.SearchAndLock Method (ArcObjects .NET 10.4 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,
  ICursor** ppiCursor
);
[C++]

Parameters piQueryFilter [in]
piQueryFilter is a parameter of type IQueryFilter Recycling [in] Recycling is a parameter of type VARIANT_BOOL ppiCursor [out, retval]
ppiCursor is a parameter of type ICursor

Product Availability

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

See Also

ILockedFeatureSearch Interface