ChartNamedElementCollection<T>::IsUniqueName Method (String^)

.NET Framework (current version)
 

Determines whether the chart element with the specified name already exists in the collection.

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

public:
virtual bool IsUniqueName(
	String^ name
)

Parameters

name
Type: System::String^

The new chart element name.

Return Value

Type: System::Boolean

True if the new chart element name is unique, otherwise false.

.NET Framework
Available since 4.0
Return to top
Show: