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

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.