This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGpDispatch Interface > IGpDispatch.SearchCursor Method (ArcObjects .NET 10.4 SDK) |
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 );
Optional Values
[C++]
HRESULT SearchCursor(
VARIANT* pInputValue,
VARIANT* WhereClause,
VARIANT* SpRef,
VARIANT* Fields,
VARIANT* sortFields,
IDispatch** ppCursor
);
[C++]
Parameters pInputValue [in] pInputValue is a parameter of type VARIANT WhereClause [optional] WhereClause is a parameter of type VARIANT
To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND. SpRef [optional] SpRef is a parameter of type VARIANT
To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND. Fields [optional] Fields is a parameter of type VARIANT
To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND. sortFields [optional] sortFields is a parameter of type VARIANT
To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND. ppCursor [out, retval] ppCursor is a parameter of type IDispatch*