ESRI.ArcGIS.ADF.IMS
MoveToGroupLayer(GroupLayer) Method
See Also 
ESRI.ArcGIS.ADF.IMS.Carto.Layer Namespace > Layer Class > MoveToGroupLayer Method : MoveToGroupLayer(GroupLayer) Method




glayer
GroupLayer to move the layer into.
Moves a layer into a GroupLayer, for use by the ADF TOC Web control.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub MoveToGroupLayer( _
   ByVal glayer As GroupLayer _
) 
Visual Basic (Usage)Copy Code
Dim instance As Layer
Dim glayer As GroupLayer
 
instance.MoveToGroupLayer(glayer)
C# 
public void MoveToGroupLayer( 
   GroupLayer glayer
)

Parameters

glayer
GroupLayer to move the layer into.

Remarks

Allows moving a layer into a group layer. Group layers are logical groupings that are used in the Table of Contents (TOC) Web control. Layers can be arranged in a tree-node hierarchy. Typically this is used when many layers are in the map, so that layers may be displayed or hidden more easily in the TOC, and also turned on or off as a group.

The ArcIMS server does not use layer groups. Group layers are only reflected in the TOC of the Web controls.

See Also

© 2010 All Rights Reserved.