Επεξεργασία

Κοινή χρήση μέσω


MonthCalendar.CreateAccessibilityInstance Method

Definition

Creates a new accessibility object for the current MonthCalendar instance.

protected:
 override System::Windows::Forms::AccessibleObject ^ CreateAccessibilityInstance();
protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance ();
override this.CreateAccessibilityInstance : unit -> System.Windows.Forms.AccessibleObject
Protected Overrides Function CreateAccessibilityInstance () As AccessibleObject

Returns

A new accessibility object for the control.

Remarks

The AccessibleObject instance returned by this method provides correct values for the Help, Name, and <System.Windows.Forms.AccessibleObject.Role> properties. The new value for the Role property is AccessibleRole.Table, the new value for the Name property is the current selection, and the new default value for the Help property is the type name.

The AccessibleObject is only available in applications that are recompiled to target the .NET Framework 4.7.1 or that opt in to the .NET Framework accessibility features added in the .NET Framework 4.7.1 by using a compatibility switch. For more information, see the Windows Forms section in Retargeting Changes for Migration from .NET Framework 4.7 to 4.7.1.

Applies to