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 FrameworkAccessibility 程序集的引用。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.

适用于

另请参阅