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


IPlugInDatasetHelper.ShapeFieldIndex Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IP > IPlugInDatasetHelper Interface > IPlugInDatasetHelper.ShapeFieldIndex Property
ArcGIS Developer Help

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,
  System.Int32* 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