DateTimePicker.CreateAccessibilityInstance Method
.NET Framework 4
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Creates a new accessibility object for the DateTimePicker control.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Return Value
Type: System.Windows.Forms.AccessibleObjectA new DateTimePicker.DateTimePickerAccessibleObject for the control.
If you do not explicitly call the CreateAccessibilityInstance method, it will be called when the AccessibilityObject property is referenced.
Note
|
|---|
|
To get or set the AccessibilityObject property, you must add a reference to the Accessibility assembly installed with the .NET Framework. |
Notes to Inheritors
When overriding CreateAccessibilityInstance in a derived class, you should not call the base class's CreateAccessibilityInstance method.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Note