Series::Name Property

.NET Framework (current version)
 

Gets or sets the unique name of a Series object.

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

public:
[BindableAttribute(true)]
[PersistenceModeAttribute(PersistenceMode::Attribute)]
property String^ Name {
	virtual String^ get() override;
	virtual void set(String^ value) override;
}

Property Value

Type: System::String^

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

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.

.NET Framework
Available since 4.0
Return to top
Show: