ToolStripItem.AccessibleName 屬性


取得或設定協助工具用戶端應用程式使用的控制項名稱。Gets or sets the name of the control for use by accessibility client applications.

 property System::String ^ AccessibleName { System::String ^ get(); void set(System::String ^ value); };
public string AccessibleName { get; set; }
member this.AccessibleName : string with get, set
Public Property AccessibleName As String


協助工具用戶端應用程式使用的控制項名稱。The name of the control, for use by accessibility client applications. 預設為 nullThe default is null.


AccessibleName 屬性是一個標籤,它會簡短描述和識別其容器內的物件,例如 ToolStripButton中的文字、ToolStripMenuItem的名稱,或 ToolStripTextBox 控制項旁顯示的標籤。The AccessibleName property is a label that briefly describes and identifies the object within its container, such as the text in a ToolStripButton, the name of a ToolStripMenuItem, or a label displayed next to a ToolStripTextBox control.

如需可存取物件屬性的詳細資訊,請參閱描述性屬性的內容For more information about properties of accessible objects, see Content of Descriptive Properties.

如需範例,請參閱 AccessibleObject 類別。For samples, see the AccessibleObject class.