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


IGpDispatch.InsertCursor Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGpDispatch.InsertCursor Method

Returns an insert cursor object against the given table/feature class.

[Visual Basic .NET]
Public Function InsertCursor ( _
    ByRef pInputValue As Object, _
    [ByRef SpRef As Object] _
) As Object
[C#]
public object InsertCursor (
    ref object pInputValue,
    ref object SpRef
);
[C#]

Optional Values

SpRef   To indicate that this parameter is undefined, first define a variable object Missing=Type.Missing; then pass this in as ref Missing.
[C++]
HRESULT InsertCursor(
  VARIANT* pInputValue,
  VARIANT* SpRef,
  IDispatch** ppCursor
);
[C++]

Parameters pInputValue [in] pInputValue is a parameter of type VARIANT 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. ppCursor [out, retval] ppCursor is a parameter of type IDispatch*

Product Availability

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

See Also

IGpDispatch Interface