LegendCollection.Add(String) Method

Definition

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

C#
public System.Web.UI.DataVisualization.Charting.Legend Add(string name);

Parameters

name
String

The name of the legend to be added.

Returns

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

Applies to

Производ Верзије
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1