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


ILayerFields.FieldCount Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

ILayerFields.FieldCount Property

The number of fields.

[Visual Basic .NET]
Public ReadOnly Property FieldCount As Integer
[C#]
public int FieldCount {get;}
[C++]
HRESULT get_FieldCount(
  System.Int32* Count
);
[C++]

Parameters Count [out, retval]
Count is a parameter of type long*

Product Availability

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

See Also

ILayerFields Interface

.NET Samples

Displaying MapTips in the MapControl (Code Files: MapTips)