Control.AccessibilityObject Control.AccessibilityObject Control.AccessibilityObject Control.AccessibilityObject Property

定義

取得指定給控制項的 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

屬性值

備註

若要控制這個方法傳回的執行個體,請覆寫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屬性,您必須加入的參考Accessibility以安裝組件.NET Framework.NET FrameworkTo 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.

適用於

另請參閱