|
| ESRI.ArcGIS.ADF.Web.UI.WebControls | |
| AddLegend Method | |
| See Also Send Feedback | |
| ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > GraphicsLayerNode Class : AddLegend Method |
- taskResults
- TaskResults control that the graphics layer node is associated with.
| Visual Basic (Declaration) | |
|---|---|
Public Overrides Sub AddLegend( _ ByVal taskResults As TaskResults _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As GraphicsLayerNode Dim taskResults As TaskResults instance.AddLegend(taskResults) | |
| C# | |
|---|---|
public override void AddLegend( TaskResults taskResults ) | |
Parameters
- taskResults
- TaskResults control that the graphics layer node is associated with.
This method may be used to display a legend for the graphics layer to the user. It generates a table-of-contents type legend node, with name and color swatch, for the graphics layer that the node contains. It then adds the legend node to the task results node.
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