مشاركة عبر


Shape.AccessibilityObject Property

Gets the AccessibleObject that is assigned to the control.

Namespace:  Microsoft.VisualBasic.PowerPacks
Assembly:  Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)

Syntax

'إقرار
<BrowsableAttribute(False)> _
Public ReadOnly Property AccessibilityObject As AccessibleObject
    Get
'الاستخدام
Dim instance As Shape
Dim value As AccessibleObject

value = instance.AccessibilityObject
[BrowsableAttribute(false)]
public AccessibleObject AccessibilityObject { get; }
[BrowsableAttribute(false)]
public:
property AccessibleObject^ AccessibilityObject {
    AccessibleObject^ get ();
}
[<BrowsableAttribute(false)>]
member AccessibilityObject : AccessibleObject
function get AccessibilityObject () : AccessibleObject

Property Value

Type: System.Windows.Forms.AccessibleObject
The AccessibleObject that is assigned to the control.

Remarks

To control the instance returned from this method, override the CreateAccessibilityInstance method.

If no AccessibleObject is currently assigned to the control, a new instance of the object is created.

ملاحظة

To get or set the AccessibilityObject property, you must add a reference to the Accessibility assembly, which is installed with the .NET Framework.

For more information about accessible objects, see the Windows Forms Accessibility.

.NET Framework Security

See Also

Reference

Shape Class

Shape Members

Microsoft.VisualBasic.PowerPacks Namespace

Other Resources

How to: Draw Lines with the LineShape Control (Visual Studio)

How to: Draw Shapes with the OvalShape and RectangleShape Controls (Visual Studio)

Introduction to the Line and Shape Controls (Visual Studio)