The geometry length field.
[Visual Basic .NET] Public ReadOnly Property LengthField As IField
[C#] public IField LengthField {get;}
[C++]
HRESULT get_LengthField(
IField** Field
);
[C++]Parameters
Field [out, retval]Field is a parameter of type IField
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Remarks
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:
- the feature class does not have a shape type of esriGeometryPolygon or esriGeometryPolyLine
- the underlying database does not maintain an area field
- the feature class is a shapefile or CAD data
See Also
IFeatureClass Interface | IField Interface | IFields Interface