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.

适用于

另请参阅