編輯

共用方式為


ToolStripItem.Name Property

Definition

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; }
[System.ComponentModel.Browsable(false)]
public string? Name { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.Name : string with get, set
Public Property Name As String

Property Value

A string representing the name. The default value is null.

Attributes

Remarks

The Name property can be used as a key into the ToolStripItemCollection.

Applies to