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


IPlugInDatasetHelper.ShapeFieldIndex Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IPlugInDatasetHelper.ShapeFieldIndex Property

The index of the shape field in the field set of the indicated dataset.

[Visual Basic .NET]
Public Function get_ShapeFieldIndex ( _
    ByVal ClassIndex As Integer _
) As Integer
[C#]
public int get_ShapeFieldIndex (
    int ClassIndex
);
[C++]
HRESULT get_ShapeFieldIndex(
  long ClassIndex,
  long* ShapeFieldIndex
);
[C++]

Parameters ClassIndex [in] ClassIndex is a parameter of type long ShapeFieldIndex [out, retval] ShapeFieldIndex is a parameter of type long

Product Availability

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

Description

Returns the index of the shape field in the field set. If the dataset has no shape field, the function should fail and return -1.

See Also

IPlugInDatasetHelper Interface