ESRI.ArcGIS.ADF.Web.UI.WebControls
AddLegend Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > MapDisplayNode Class : AddLegend Method




taskResults
The set of task results for which to display a legend.
Causes a legend to display symbol(s) representing the features in the results.

Syntax

Visual Basic (Declaration) 
Public MustOverride Sub AddLegend( _
   ByVal taskResults As TaskResults _
) 
Visual Basic (Usage)Copy Code
Dim instance As MapDisplayNode
Dim taskResults As TaskResults
 
instance.AddLegend(taskResults)
C# 
public abstract void AddLegend( 
   TaskResults taskResults
)

Parameters

taskResults
The set of task results for which to display a legend.

Remarks

The legend displays within the task results itself, as a sub-node of the MapDisplayNode.

See Also

© 2010 All Rights Reserved.