ChartNamedElementCollection<T>::Item Property (String^)

.NET Framework (current version)
 

Gets or sets the chart element with the specified name.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public:
property T default[
	String^ name
] {
	T get(String^ name);
	void set(String^ name, T value);
}

Parameters

name
Type: System::String^

The name of the chart element.

Property Value

Type: T

The ChartNamedElement object of the specified name in the collection.

.NET Framework
Available since 4.0
Return to top
Show: