LegendCollection.Add Method (String)

.NET Framework (current version)
 

Adds the specified Legend object to the end of the collection.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

Public Function Add (
	name As String
) As Legend

Parameters

name
Type: System.String

The name of the legend to be added.

Return Value

Type: System.Web.UI.DataVisualization.Charting.Legend

A string value that represents the index of the added item.

.NET Framework
Available since 4.0
Return to top
Show: