ESRI.ArcGIS.ADF.Web.UI.WebControls
AddLegend Method
See Also 
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.

See Also

© 2010 All Rights Reserved.