Series.Name Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

<BindableAttribute(True)>
<PersistenceModeAttribute(PersistenceMode.Attribute)>
Public Overrides Property Name As String

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: