ArcObjects Library Reference (Carto)  

ICompositeLayer2 Interface

Provides access to members that control whether a layer is expanded in the TOC.

Product Availability

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

Description

ICompositeLayer2 provides an additional read/write Expanded property defining if the group layer is shown as expanded or not in the TOC.

Members

Description
Read-only property Count Number of layers in the collection.
Read/write property Expanded Indicates if the layer is expanded in the TOC.
Read-only property Layer Layer in the collection at the specified index.

CoClasses that implement ICompositeLayer2

CoClasses and Classes Description
BasemapSubLayer Wrapper for layers in the basemap.
CadastralFabricLayer Cadastral Fabric Layer Object.
FDOGraphicsLayer A collection of properties for an annotation layer (feature data object graphics layer).
GlobeServerLayer (esriGlobeCore) Provides programmatic access to a globe server layer.
IMSMapLayer A container for the display and manipulation of IMS layers.
MapServerLayer Provides programmatic access to a map server layer.
MapServerRESTLayer Provides programmatic access to a a layer based on MapServer using REST access.
MapServerRESTSubLayer Provides programmatic access to a MapServer SubLayer.
MosaicLayer The layer implementation of the Mosaic Dataset.
NALayer (esriNetworkAnalyst) The layer for defining, solving, and viewing network analysis results.
SchematicLayer (esriSchematic) A Schematic layer object.
WMSGroupLayer A container for the display of WMS group layers.
WMSMapLayer A container for the display and manipulation of WMS layers.

.NET Snippets

Toggle Visibility Of Composite Layer