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