LegendCollection.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 the specified Legend object to the end of the collection.
public:
System::Windows::Forms::DataVisualization::Charting::Legend ^ Add(System::String ^ name);
public System.Windows.Forms.DataVisualization.Charting.Legend Add (string name);
override this.Add : string -> System.Windows.Forms.DataVisualization.Charting.Legend
Public Function Add (name As String) As Legend
Parameters
- name
- String
The name of legend to be added.
Returns
A string
value that represents the index of the added item.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET