ArcObjects Library Reference  (Carto)    

ICompositeLayer.Count Property

Number of layers in the collection.

[Visual Basic 6.0]
Property Count As Long
[Visual Basic .NET]
Public ReadOnly Property Count As Integer
[C#]
public int Count {get;}
[Java]
public int getCount()
throws
    IOException,
    AutomationException
[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.

Description

Returns the count, or number of layers.  Use the methods in the IGroupLayer interface to manage the contents of GroupLayers.

See Also

ICompositeLayer Interface

 


Feedback Send feedback on this page