System.Windows.Forms.DomainUpDown.CreateAccessibilityInstance Method

Creates a new accessibility object for the System.Windows.Forms.DomainUpDown control.

Syntax

protected override AccessibleObject CreateAccessibilityInstance ()

Returns

A new System.Windows.Forms.DomainUpDown.DomainUpDownAccessibleObject for the control.

Remarks

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

Note:

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

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0