ESRI.ArcGIS.ADF.Web.UI.WebControls
GraphicsLayerNode Constructor(GraphicsLayer,Boolean,String,String)
See Also  Send Feedback
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 ESRI.ArcGIS.ADF.Web.Display.Graphics.GraphicsLayer, _
   ByVal showLegend As Boolean, _
   ByVal nodeID As String, _
   ByVal text As String _
)
Visual Basic (Usage)Copy Code
Dim glayer As ESRI.ArcGIS.ADF.Web.Display.Graphics.GraphicsLayer
Dim showLegend As Boolean
Dim nodeID As String
Dim text As String
 
Dim instance As New GraphicsLayerNode(glayer, showLegend, nodeID, text)
C# 
public GraphicsLayerNode( 
   ESRI.ArcGIS.ADF.Web.Display.Graphics.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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.