ArcObjects Library Reference (Geoprocessing)  

IGpEnumObject.SetCursor Method

Initializes the enumeration of rows based upon the given cursor.

[Visual Basic .NET]
Public Sub SetCursor ( _
    ByVal cursor As ICursor, _
    ByVal cursorCookie As Integer, _
    ByVal Fields As IFields, _
    ByVal FieldInfo As IGPFieldInfo, _
    ByVal pRowBuffer As IRowBuffer, _
    ByVal pRowSet As IPropertySet, _
    ByVal update As Boolean, _
    ByVal updateType As Integer, _
    ByVal Type As esriGeometryType, _
    ByVal pSpRef As ISpatialReference, _
    ByVal HasM As Boolean, _
    ByVal HasZ As Boolean, _
    ByVal defaultZ As Double _
)
[C#]
public void SetCursor (
    ICursor cursor,
    int cursorCookie,
    IFields Fields,
    IGPFieldInfo FieldInfo,
    IRowBuffer pRowBuffer,
    IPropertySet pRowSet,
    bool update,
    int updateType,
    esriGeometryType Type,
    ISpatialReference pSpRef,
    bool HasM,
    bool HasZ,
    double defaultZ
);
[C++]
HRESULT SetCursor(
  ICursor* cursor,
  long cursorCookie,
  IFields* Fields,
  IGPFieldInfo* FieldInfo,
  IRowBuffer* pRowBuffer,
  IPropertySet* pRowSet,
  VARIANT_BOOL update,
  long updateType,
  esriGeometryType Type,
  ISpatialReference* pSpRef,
  VARIANT_BOOL HasM,
  VARIANT_BOOL HasZ,
  double defaultZ
);
[C++]

Parameters

cursor [in]

  cursor is a parameter of type ICursor

cursorCookie [in]   cursorCookie is a parameter of type long Fields [in]

  Fields is a parameter of type IFields

FieldInfo [in]

  FieldInfo is a parameter of type IGPFieldInfo

pRowBuffer [in]

  pRowBuffer is a parameter of type IRowBuffer

pRowSet [in]

  pRowSet is a parameter of type IPropertySet

update [in]   update is a parameter of type VARIANT_BOOL updateType [in]   updateType is a parameter of type long Type [in]

  Type is a parameter of type esriGeometryType

pSpRef [in]

  pSpRef is a parameter of type ISpatialReference

HasM [in]   HasM is a parameter of type VARIANT_BOOL HasZ [in]   HasZ is a parameter of type VARIANT_BOOL defaultZ [in]   defaultZ is a parameter of type double

Product Availability

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

See Also

IGpEnumObject Interface