Rediger

Del via


ChartArea.Name Property

Definition

Gets or sets the unique name of a ChartArea object.

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

Property Value

A string value that represents the unique name of a ChartArea object.

Attributes

Remarks

The name of a ChartArea object must be unique, otherwise an exception will be thrown.

This property can be used as the indexer when retrieving a ChartArea object from the ChartAreaCollection object.

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

Applies to