ESRI.ArcGIS.ADF.Web.UI.WebControls
MapResourceNode Constructor(String,TaskResults,DisplaySettings,Boolean)
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > MapResourceNode Class > MapResourceNode Constructor : MapResourceNode Constructor(String,TaskResults,DisplaySettings,Boolean)




text
The text to display on the node to the user.
taskResults
The TaskResults control on which the node will be added.
displaySettings
Settings that control how the map displays, such as visibility, transparency and size.
showLegend
Whether to display a legend for the node.
Creates a new MapResourceNode instance.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal text As String, _
   ByVal taskResults As TaskResults, _
   ByVal displaySettings As DisplaySettings, _
   ByVal showLegend As Boolean _
)
Visual Basic (Usage)Copy Code
Dim text As String
Dim taskResults As TaskResults
Dim displaySettings As DisplaySettings
Dim showLegend As Boolean
 
Dim instance As MapResourceNode(text, taskResults, displaySettings, showLegend)
C# 
public MapResourceNode( 
   string text,
   TaskResults taskResults,
   DisplaySettings displaySettings,
   bool showLegend
)

Parameters

text
The text to display on the node to the user.
taskResults
The TaskResults control on which the node will be added.
displaySettings
Settings that control how the map displays, such as visibility, transparency and size.
showLegend
Whether to display a legend for the node.

Remarks

The displaySettings parameter corresponds to the settings in MapResourceItem.DisplaySettings included in the MapResourceManager.

See Also

© 2010 All Rights Reserved.