ToolStripItem.Name ToolStripItem.Name ToolStripItem.Name ToolStripItem.Name Property

定义

获取或设置项的名称。Gets or sets the name of the item.

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Browsable(false)]
public string Name { get; set; }
member this.Name : string with get, set
Public Property Name As String

属性值

一个表示名称的字符串。A string representing the name. 默认值为 nullThe default value is null.

注解

属性可用作ToolStripItemCollection中的键。 NameThe Name property can be used as a key into the ToolStripItemCollection.

适用于