|
| ESRI.ArcGIS.ADF.Web.UI.WebControls | |
| MapResourceNode Constructor(String,TaskResults,DisplaySettings,Boolean) | |
| See Also Send Feedback | |
| 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.
| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal text As String, _ ByVal taskResults As TaskResults, _ ByVal displaySettings As ESRI.ArcGIS.ADF.Web.DisplaySettings, _ ByVal showLegend As Boolean _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim text As String Dim taskResults As TaskResults Dim displaySettings As ESRI.ArcGIS.ADF.Web.DisplaySettings Dim showLegend As Boolean Dim instance As New MapResourceNode(text, taskResults, displaySettings, showLegend) | |
| C# | |
|---|---|
public MapResourceNode( string text, TaskResults taskResults, ESRI.ArcGIS.ADF.Web.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.
The displaySettings parameter corresponds to the settings in MapResourceItem.DisplaySettings included in the MapResourceManager.
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