ArcObjects Library Reference (GeoDatabase)  

IField.Name Property

The name of the field.

[Visual Basic .NET]
Public ReadOnly Property Name As String
[C#]
public string Name {get;}
[C++]
HRESULT get_Name(
  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

Geodatabase feature classes, depending on their geometry type, may contain automatically generated fields for shape length and area. In personal and file geodatabases, these fields will be named using the name of the shape field suffixed with "_Length" and "_Area". In an SDE geodatabase, the names of these fields will be dependant on the underlying DBMS.

The IFeatureClass::ShapeFieldName property should be used to determine the name of the length and area fields for a feature class.

See Also

IField Interface

.NET Samples

Export any network analysis class to a text file (Code Files: NAClassToTextfileCmd) | Displaying MapTips in the MapControl (Code Files: MapTips) | StreetMap routing (Code Files: RoutingForm) | Retrieve a color ramp from the SymbologyControl (Code Files: SymbolForm)

.NET Related Topics

Copying or loading data while preserving GlobalID values | Creating an address locator | Creating fields | Getting a list of schema differences between replicas | How to geocode a single address | How to geocode a table of addresses | How to standardize an address | Working with fields | Working with indexes