ESRI.ArcGIS.ADF.Web.UI.WebControls | |
AddLegend Method | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > MapResourceNode Class : AddLegend Method |
- taskResults
- TaskResults control to which the MapResourceNode is added.
Visual Basic (Declaration) | |
---|---|
Public Overrides Sub AddLegend( _ ByVal taskResults As TaskResults _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As MapResourceNode Dim taskResults As TaskResults instance.AddLegend(taskResults) |
C# | |
---|---|
public override void AddLegend( TaskResults taskResults ) |
Parameters
- taskResults
- TaskResults control to which the MapResourceNode is added.
The legend is added as a sub-node to the MapResourceNode itself, not to the Toc (table of contents) control associated with the Map.
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