ToolStripItem.Name 屬性

定義

取得或設定項目的名稱。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.

屬性

備註

Name 屬性可用來做為 ToolStripItemCollection的索引鍵。The Name property can be used as a key into the ToolStripItemCollection.

適用於