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.
Adds a legend node with swatch to the TaskResults control.

Syntax

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.

Remarks

The legend is added as a sub-node to the MapResourceNode itself, not to the Toc (table of contents) control associated with the Map.

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.