次の方法で共有


LegendCollection.Add(String) メソッド

定義

指定した Legend オブジェクトをコレクションの末尾に追加します。

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

パラメーター

name
String

追加する凡例の名前。

戻り値

Legend

追加する項目のインデックスを表す string 値。

適用対象