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

IFeatureClass.LengthField Property (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IF > IFeatureClass Interface > IFeatureClass.LengthField Property
ArcGIS Developer Help

IFeatureClass.LengthField Property

The geometry length field.

[Visual Basic .NET]
Public ReadOnly Property LengthField As IField
public IField LengthField {get;}
HRESULT get_LengthField(
  IField** Field
Field [out, retval]

Field is a parameter of type IField**

Product Availability

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


This read-only property returns the name of the field which records the length of each feature. Only feature classes that have a ShapeType of esriGeometryPolygon or esriGeometryPolyLine have a Length field. For Line features, this field records the length of the polyline. For polygon features, this field records the perimeter of the polygon.

A null pointer will be returned if:

See Also

IFeatureClass Interface | IField Interface | IFields Interface