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


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

ILegend.ItemCount Property

Number of items in the legend.

[Visual Basic .NET]
Public ReadOnly Property ItemCount As Integer
[C#]
public int ItemCount {get;}
[C++]
HRESULT get_ItemCount(
  System.Int32* numItems
);
[C++]
Parameters
numItems [out, retval]

numItems is a parameter of type long*

Product Availability

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

See Also

ILegend Interface