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


ILayerFields.FieldCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayerFields Interface > ILayerFields.FieldCount Property
ArcGIS Developer Help

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