System.Windows.Forms.LinkLabel.CreateAccessibilityInstance Method

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

Syntax

protected override AccessibleObject CreateAccessibilityInstance ()

Returns

A new System.Windows.Forms.AccessibleObject for the control.

Remarks

If you do not explicitly call the LinkLabel.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.

Notes to Inheritors: When overriding LinkLabel.CreateAccessibilityInstance in a derived class, you should not call the base class's LinkLabel.CreateAccessibilityInstance method.

Requirements

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