Series.Name Property

Definition

Gets or sets the unique name of a Series object.

public:
 virtual property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public override string Name { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.Name : string with get, set
Public Overrides Property Name As String

Property Value

A string value that represents the unique name of the data series.

Attributes

Remarks

The name of a data series must be unique; otherwise an exception will be thrown.

This property can be used as the indexer when you retrieve a Series object from the SeriesCollection object.

If this property is set to a zero-length string, an exception will be thrown.

Applies to