DataRepeater.CreateAccessibilityInstance Method
Creates a new accessibility object for a DataRepeater control.
Namespace: Microsoft.VisualBasic.PowerPacks
Assembly: Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)
Syntax
'Declaration
Protected Overrides Function CreateAccessibilityInstance As AccessibleObject
protected override AccessibleObject CreateAccessibilityInstance()
protected:
virtual AccessibleObject^ CreateAccessibilityInstance() override
abstract CreateAccessibilityInstance : unit -> AccessibleObject
override CreateAccessibilityInstance : unit -> AccessibleObject
protected override function CreateAccessibilityInstance() : AccessibleObject
Return Value
Type: System.Windows.Forms.AccessibleObject
A new accessibility object.
Remarks
The CreateAccessibilityInstance method creates an object to provide information that accessibility applications use to adjust an application's user interface for users who have impairments.
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 that is installed with the .NET Framework.
Notes to Inheritors
When you override CreateAccessibilityInstance in a derived class, do not call the CreateAccessibilityInstance method of the base class.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualBasic.PowerPacks Namespace