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 값입니다.

적용 대상