Control.AccessibilityObject 屬性

定義

取得指定給控制項的 AccessibleObjectGets the AccessibleObject assigned to the control.

public:
 property System::Windows::Forms::AccessibleObject ^ AccessibilityObject { System::Windows::Forms::AccessibleObject ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.AccessibleObject AccessibilityObject { get; }
member this.AccessibilityObject : System.Windows.Forms.AccessibleObject
Public ReadOnly Property AccessibilityObject As AccessibleObject

屬性值

指定給控制項的 AccessibleObjectThe AccessibleObject assigned to the control.

屬性

備註

若要控制從這個方法傳回的實例,請覆寫 CreateAccessibilityInstance 方法。To control the instance returned from this method, override the CreateAccessibilityInstance method.

如果目前沒有為控制項指定 AccessibleObject,則會建立其新的執行個體。If no AccessibleObject is currently assigned to the control, a new instance of one is created.

注意

若要取得或設定 AccessibilityObject 屬性,您必須將參考加入與.NET Framework.NET Framework一起安裝的 Accessibility 元件。To get or set the AccessibilityObject property, you must add a reference to the Accessibility assembly installed with the.NET Framework.NET Framework.

如需可存取物件的詳細資訊,請參閱Active AccessibilityFor more information about accessible objects, see Active Accessibility.

適用於

另請參閱