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

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

.NET Samples

Convert part to feature command (Code Files: ConvertPart) | Create camera flyby from path (Code Files: frmCameraPath) | Editing using a custom form (Code Files: EditorForm) | Import signposts (Code Files: ImportDynamapSignsFunction ImportMultiNetSignsFunction ImportNavStreetsSignsFunction) | Server spatial query COM utility (Code Files: VegUtils_VBNet) |

.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 | Utility COM objects | Working with indexes |