This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IC > ICompositeLayer Interface > ICompositeLayer.Count Property (ArcObjects .NET 10.4 SDK) |
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
Returns the count, or number of layers. Use the methods in the IGroupLayer interface to manage the contents of GroupLayers.