ChartAreaCollection.Add(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.