Muokkaa

Jaa


ChartAreaCollection.Add(String) Method

Definition

Adds a ChartArea object with the specified name to the collection.

public:
 System::Windows::Forms::DataVisualization::Charting::ChartArea ^ Add(System::String ^ name);
public System.Windows.Forms.DataVisualization.Charting.ChartArea Add (string name);
override this.Add : string -> System.Windows.Forms.DataVisualization.Charting.ChartArea
Public Function Add (name As String) As ChartArea

Parameters

name
String

The name of the object to be added to the collection.

Returns

A string value that represents a reference to the newly added object.

Remarks

Objects are always added as the last item in the collection.

The name argument specifies the Name property of the object being added.

Applies to