MenuStrip::CreateAccessibilityInstance Method ()

 

Creates a new accessibility object for the control.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected:
virtual AccessibleObject^ CreateAccessibilityInstance() override

Return Value

Type: System.Windows.Forms::AccessibleObject^

A new AccessibleObject for the control.

If you do not explicitly call the CreateAccessibilityInstance method, it will be called when the Control::AccessibilityObject property is referenced.

System_CAPS_noteNote

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

For a code example of using CreateAccessibilityInstance, see Control::CreateAccessibilityInstance.

.NET Framework
Available since 2.0
Return to top
Show: