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