MenuStrip.CreateAccessibilityInstance Método

Definición

Crea un nuevo objeto de accesibilidad para el control.Creates a new accessibility object for the control.

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

Devoluciones

Nuevo AccessibleObject del control.A new AccessibleObject for the control.

Comentarios

Si no se llama de forma explícita al método CreateAccessibilityInstance, se llamará a este método al hacer referencia a la propiedad Control.AccessibilityObject.If you do not explicitly call the CreateAccessibilityInstance method, it will be called when the Control.AccessibilityObject property is referenced.

Nota

Para obtener o establecer la propiedad Control.AccessibilityObject, debe agregar una referencia al ensamblado Accessibility instalado con el .NET Framework.To get or set the Control.AccessibilityObject property, you must add a reference to the Accessibility assembly installed with the .NET Framework.

Para obtener un ejemplo de código del uso de CreateAccessibilityInstance, vea Control.CreateAccessibilityInstance.For a code example of using CreateAccessibilityInstance, see Control.CreateAccessibilityInstance.

Se aplica a