This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > GeoDatabaseExtensions > ESRI.ArcGIS.GeoDatabaseExtensions > Interfaces > IL > ILockedFeatureSearch Interface > ILockedFeatureSearch.SearchAndLock Method (ArcObjects .NET 10.4 SDK) |
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