This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IP > IPlugInDatasetHelper Interface > IPlugInDatasetHelper.ShapeFieldIndex Property (ArcObjects .NET 10.5 SDK) |
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
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.