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


IFeatureClass.ShapeFieldName Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IFeatureClass.ShapeFieldName Property

The name of the default sShape field.

[Visual Basic .NET]
Public ReadOnly Property ShapeFieldName As String
[C#]
public string ShapeFieldName {get;}
[C++]
HRESULT get_ShapeFieldName(
  BSTR* Name
);
[C++]

Parameters Name [out, retval] Name is a parameter of type BSTR

Product Availability

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

Remarks

This read-only property returns the name of the geometry field for the feature class.

See Also

IFeatureClass Interface | IGeometry Interface | ILine Interface | IPoint Interface | IPolygon Interface

.NET Snippets

Get First Feature from Point Search in GeoFeatureLayer | Perform Spatial Query | Zoom to Selected Globe Features

.NET Samples

Convert part to feature command (Code Files: ConvertPart) | Editing using a custom form (Code Files: EditorForm) | Create camera flyby from path (Code Files: frmCameraPath)

.NET Related Topics

Converting simple data | Creating fields | Creating indexes | How to standardize an address | How to zoom to selected features in globe | Updating geometry of existing features | Working with indexes