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


IGpDispatch.SearchCursor Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGpDispatch.SearchCursor Method

Returns a search cursor object against the given table/feature class.

[Visual Basic .NET]
Public Function SearchCursor ( _
    ByRef pInputValue As Object, _
    [ByRef WhereClause As Object], _
    [ByRef SpRef As Object], _
    [ByRef Fields As Object], _
    [ByRef sortFields As Object] _
) As Object
[C#]
public object SearchCursor (
    ref object pInputValue,
    ref object WhereClause,
    ref object SpRef,
    ref object Fields,
    ref object sortFields
);
[C++]
HRESULT SearchCursor(
  Variant* pInputValue,
  Variant* WhereClause,
  Variant* SpRef,
  Variant* Fields,
  Variant* sortFields
);
[C++]

Parameters pInputValue [in]
pInputValue is a parameter of type VARIANT* WhereClause [in, optional]
WhereClause is a parameter of type VARIANT* SpRef [in, optional]
SpRef is a parameter of type VARIANT* Fields [in, optional]
Fields is a parameter of type VARIANT* sortFields [in, optional]
sortFields is a parameter of type VARIANT*

Product Availability

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

See Also

IGpDispatch Interface