LinkLabel.CreateAccessibilityInstance Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Creates a new accessibility object for the LinkLabel control.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected override AccessibleObject CreateAccessibilityInstance()

Return Value

Type: System.Windows.Forms.AccessibleObject

A new AccessibleObject 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.

.NET Framework
Available since 1.1
Return to top
Show: