ArcObjects Library Reference (TrackingAnalyst)  

ILockedFeatureSearch.SelectAndLock Method

Selectes records that satisfy the query filter, selection type and selection option, and lockes them.

[Visual Basic .NET]
Public Function SelectAndLock ( _
    ByVal piQueryFilter As IQueryFilter, _
    ByVal selType As esriSelectionType, _
    ByVal selOption As esriSelectionOption, _
    ByVal piSelectionContainer As IWorkspace _
) As ISelectionSet
[C#]
public ISelectionSet SelectAndLock (
    IQueryFilter piQueryFilter,
    esriSelectionType selType,
    esriSelectionOption selOption,
    IWorkspace piSelectionContainer
);
[C++]
HRESULT SelectAndLock(
  IQueryFilter* piQueryFilter,
  esriSelectionType selType,
  esriSelectionOption selOption,
  IWorkspace* piSelectionContainer,
  ISelectionSet** ppiSelectionSet
);
[C++]

Parameters

piQueryFilter [in]

  piQueryFilter is a parameter of type IQueryFilter

selType [in]

  selType is a parameter of type esriSelectionType

selOption [in]

  selOption is a parameter of type esriSelectionOption

piSelectionContainer [in]

  piSelectionContainer is a parameter of type IWorkspace

ppiSelectionSet [out, retval]

  ppiSelectionSet is a parameter of type ISelectionSet

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

See Also

ILockedFeatureSearch Interface