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


ICompositeLayer2.Count Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

ICompositeLayer2.Count Property

Number of layers in the collection.

[Visual Basic .NET]
Public ReadOnly Property Count As Integer
[C#]
public int Count {get;}
[C++]
HRESULT get_Count(
  long* LayerCount
);
[C++]

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

Product Availability

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

See Also

ICompositeLayer2 Interface