ESRI.ArcGIS.ADF.Web.UI.WebControls
GraphicsLayerNode Constructor(GraphicsLayer,Boolean,String,String)
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > GraphicsLayerNode Class > GraphicsLayerNode Constructor : GraphicsLayerNode Constructor(GraphicsLayer,Boolean,String,String)




glayer
GraphicsLayer that contains the features to display on the map.
showLegend
Whether to display a legend in the TaskResults for the features.
nodeID
Unique identifier for the node. Typically a GUID generated internally by code.
text
Text to display for the node. Typically includes the layer from which the features were derived, if any.
Creates a new instance of a GraphicsLayerNode.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal glayer As GraphicsLayer, _
   ByVal showLegend As Boolean, _
   ByVal nodeID As String, _
   ByVal text As String _
)
Visual Basic (Usage)Copy Code
Dim glayer As GraphicsLayer
Dim showLegend As Boolean
Dim nodeID As String
Dim text As String
 
Dim instance As GraphicsLayerNode(glayer, showLegend, nodeID, text)
C# 
public GraphicsLayerNode( 
   GraphicsLayer glayer,
   bool showLegend,
   string nodeID,
   string text
)

Parameters

glayer
GraphicsLayer that contains the features to display on the map.
showLegend
Whether to display a legend in the TaskResults for the features.
nodeID
Unique identifier for the node. Typically a GUID generated internally by code.
text
Text to display for the node. Typically includes the layer from which the features were derived, if any.

See Also

© 2010 All Rights Reserved.