Editar

Compartilhar via


LegendCollection.Add(String) Method

Definition

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

public:
 System::Web::UI::DataVisualization::Charting::Legend ^ Add(System::String ^ name);
public System.Web.UI.DataVisualization.Charting.Legend Add (string name);
override this.Add : string -> System.Web.UI.DataVisualization.Charting.Legend
Public Function Add (name As String) As Legend

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