This documentation is archived and is not being maintained.

Control.AccessibilityObject Property

Gets the AccessibleObject assigned to the control.

[Visual Basic]
Public ReadOnly Property AccessibilityObject As AccessibleObject
[C#]
public AccessibleObject AccessibilityObject {get;}
[C++]
public: __property AccessibleObject* get_AccessibilityObject();
[JScript]
public function get AccessibilityObject() : AccessibleObject;

Property Value

The AccessibleObject assigned to the control.

Remarks

To control the instance returned from this method, override the CreateAccessibilityInstance method.

If no AccessibleObject is currently assigned to the control, a new instance of one is created.

Note   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 MSDN Library.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Control Class | Control Members | System.Windows.Forms Namespace | CreateAccessibilityInstance | Control.ControlAccessibleObject | AccessibleObject

Show: