ToolStripItem.AccessibilityObject ToolStripItem.AccessibilityObject ToolStripItem.AccessibilityObject ToolStripItem.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

属性值

分配给该控件的 AccessibleObject;如果当前未将任何 AccessibleObject 分配给该控件,则在第一次访问此属性时将创建新实例。The AccessibleObject assigned to the control; if no AccessibleObject is currently assigned to the control, a new instance is created when this property is first accessed

注解

要获取或设置 AccessibilityObject 属性,必须添加对与 .NET Framework 一起安装的 Accessibility 程序集的引用。To get or set the AccessibilityObject property, you must add a reference to the Accessibility assembly installed with the .NET Framework.

有关可访问对象的详细信息, 请参阅文档的Active Accessibility部分。For more information about accessible objects, see the Active Accessibility section of the documentation.

有关示例, 请参阅AccessibleObject类。For samples, see the AccessibleObject class.

适用于

另请参阅