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




index
Position at which to insert the layer within the group layer collection.
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 index As Integer, _
   ByVal glayer As GroupLayer _
) 
Visual Basic (Usage)Copy Code
Dim instance As Layer
Dim index As Integer
Dim glayer As GroupLayer
 
instance.MoveToGroupLayer(index, glayer)
C# 
public void MoveToGroupLayer( 
   int index,
   GroupLayer glayer
)

Parameters

index
Position at which to insert the layer within the group layer collection.
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.