ChartNamedElement 构造函数

定义

初始化 ChartNamedElement 类的新实例。Initializes a new instance of the ChartNamedElement class.

重载

ChartNamedElement()

初始化 ChartNamedElement 类的新实例。Initializes a new instance of the ChartNamedElement class.

ChartNamedElement(String)

使用指定的图表元素名称初始化 ChartNamedElement 类的新实例。Initializes a new instance of the ChartNamedElement class with the specified chart element name.

ChartNamedElement()

初始化 ChartNamedElement 类的新实例。Initializes a new instance of the ChartNamedElement class.

protected:
 ChartNamedElement();
protected ChartNamedElement ();
Protected Sub New ()

适用于

ChartNamedElement(String)

使用指定的图表元素名称初始化 ChartNamedElement 类的新实例。Initializes a new instance of the ChartNamedElement class with the specified chart element name.

protected:
 ChartNamedElement(System::String ^ name);
protected ChartNamedElement (string name);
new System.Windows.Forms.DataVisualization.Charting.ChartNamedElement : string -> System.Windows.Forms.DataVisualization.Charting.ChartNamedElement
Protected Sub New (name As String)

参数

name
String

新图表元素的名称。The name of the new chart element.

适用于