編輯

共用方式為


ToolStripItem.AccessibilityObject Property

Definition

Gets 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; }
[<System.ComponentModel.Browsable(false)>]
member this.AccessibilityObject : System.Windows.Forms.AccessibleObject
Public ReadOnly Property AccessibilityObject As AccessibleObject

Property Value

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.

Attributes

Remarks

To get or set the AccessibilityObject property, you must add a reference to the Accessibility assembly installed with the .NET Framework.

For more information about accessible objects, see the Active Accessibility section of the documentation.

For samples, see the AccessibleObject class.

Applies to

See also