Partager via


ShapeAccessibleObject Class

Provides information that accessibility applications use to adjust an application's UI for users with impairments.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.Runtime.InteropServices.StandardOleMarshalObject
      System.Windows.Forms.AccessibleObject
        Microsoft.VisualStudio.Modeling.Diagrams.ShapeAccessibleObject

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Class ShapeAccessibleObject _
    Inherits AccessibleObject
public class ShapeAccessibleObject : AccessibleObject
public ref class ShapeAccessibleObject : public AccessibleObject
type ShapeAccessibleObject =  
    class 
        inherit AccessibleObject 
    end
public class ShapeAccessibleObject extends AccessibleObject

The ShapeAccessibleObject type exposes the following members.

Constructors

  Name Description
Public method ShapeAccessibleObject Initializes a new instance of the ShapeAccessibleObject class.

Top

Properties

  Name Description
Public property Bounds Gets the location and size of the accessible object. (Overrides AccessibleObject.Bounds.)
Public property DefaultAction Gets a string that describes the default action of the object. Not all objects have a default action. (Overrides AccessibleObject.DefaultAction.)
Public property Description Description (Overrides AccessibleObject.Description.)
Public property Help Gets a description of what the object does or how the object is used. (Overrides AccessibleObject.Help.)
Public property KeyboardShortcut Gets the shortcut key or access key for the accessible object. (Overrides AccessibleObject.KeyboardShortcut.)
Public property Name Name (Overrides AccessibleObject.Name.)
Public property Parent Gets the parent of an accessible object. (Overrides AccessibleObject.Parent.)
Public property Role Role (Overrides AccessibleObject.Role.)
Public property State Gets the state of this accessible object. (Overrides AccessibleObject.State.)
Public property Value Gets or sets the accessible value for this element. (Overrides AccessibleObject.Value.)

Top

Methods

  Name Description
Public method CreateObjRef Security Critical. Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method DoDefaultAction Performs the default action associated with this accessible object. (Overrides AccessibleObject.DoDefaultAction().)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetChild Retrieves the accessible child corresponding to the specified index. (Overrides AccessibleObject.GetChild(Int32).)
Public method GetChildCount Retrieves the number of children belonging to an accessible object. (Overrides AccessibleObject.GetChildCount().)
Public method GetFocused Retrieves the object that has the keyboard focus. (Inherited from AccessibleObject.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetHelpTopic Gets an identifier for a Help topic identifier and the path to the Help file associated with this accessible object. (Overrides AccessibleObject.GetHelpTopic(String%).)
Public method GetLifetimeService Security Critical. Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetSelected Retrieves the currently selected child. (Inherited from AccessibleObject.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method HitTest Performs hit-test of the shape at specified screen coordinates and returns MSAA object for the hit child. (Overrides AccessibleObject.HitTest(Int32, Int32).)
Public method InitializeLifetimeService Security Critical. Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone() Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Public method Navigate Navigates to another accessible object. (Overrides AccessibleObject.Navigate(AccessibleNavigation).)
Public method Select Modifies the selection or moves the keyboard focus of the accessible object. (Overrides AccessibleObject.Select(AccessibleSelection).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Protected method UseStdAccessibleObjects(IntPtr) Infrastructure. Associates an object with an instance of an AccessibleObject based on the handle of the object. (Inherited from AccessibleObject.)
Protected method UseStdAccessibleObjects(IntPtr, Int32) Infrastructure. Associates an object with an instance of an AccessibleObject based on the handle and the object id of the object. (Inherited from AccessibleObject.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate property IAccessible.accChildCount Infrastructure. Gets the number of child interfaces that belong to this object. For a description of this member, see IAccessible.accChildCount. (Inherited from AccessibleObject.)
Explicit interface implemetationPrivate method IAccessible.accDoDefaultAction Infrastructure. Performs the specified object's default action. Not all objects have a default action. For a description of this member, see IAccessible.accDoDefaultAction. (Inherited from AccessibleObject.)
Explicit interface implemetationPrivate property IAccessible.accFocus Infrastructure. Gets the object that has the keyboard focus. For a description of this member, see IAccessible.accFocus. (Inherited from AccessibleObject.)
Explicit interface implemetationPrivate method IAccessible.accHitTest Infrastructure. Gets the child object at the specified screen coordinates. For a description of this member, see IAccessible.accHitTest. (Inherited from AccessibleObject.)
Explicit interface implemetationPrivate method IAccessible.accLocation Infrastructure. Gets the object's current screen location. For a description of this member, see IAccessible.accLocation. (Inherited from AccessibleObject.)
Explicit interface implemetationPrivate method IAccessible.accNavigate Infrastructure. Navigates to an accessible object relative to the current object. For a description of this member, see IAccessible.accNavigate. (Inherited from AccessibleObject.)
Explicit interface implemetationPrivate property IAccessible.accParent Infrastructure. Gets the parent accessible object of this object. For a description of this member, see IAccessible.accParent. (Inherited from AccessibleObject.)
Explicit interface implemetationPrivate method IAccessible.accSelect Infrastructure. Modifies the selection or moves the keyboard focus of the accessible object. For a description of this member, see IAccessible.accSelect. (Inherited from AccessibleObject.)
Explicit interface implemetationPrivate property IAccessible.accSelection Infrastructure. Gets the selected child objects of an accessible object. For a description of this member, see IAccessible.accSelection. (Inherited from AccessibleObject.)
Explicit interface implemetationPrivate method IReflect.GetField Infrastructure. Gets the System.Reflection.FieldInfo object corresponding to the specified field and binding flag. For a description of this member, see IReflect.GetField. (Inherited from AccessibleObject.)
Explicit interface implemetationPrivate method IReflect.GetFields Infrastructure. Gets an array of System.Reflection.FieldInfo objects corresponding to all fields of the current class. For a description of this member, see IReflect.GetFields. (Inherited from AccessibleObject.)
Explicit interface implemetationPrivate method IReflect.GetMember Infrastructure. Gets an array of System.Reflection.MemberInfo objects corresponding to all public members or to all members that match a specified name. For a description of this member, see IReflect.GetMember. (Inherited from AccessibleObject.)
Explicit interface implemetationPrivate method IReflect.GetMembers Infrastructure. Gets an array of System.Reflection.MemberInfo objects corresponding either to all public members or to all members of the current class. For a description of this member, see IReflect.GetMembers. (Inherited from AccessibleObject.)
Explicit interface implemetationPrivate method IReflect.GetMethod(String, BindingFlags) Infrastructure. Gets a System.Reflection.MethodInfo object corresponding to a specified method under specified search constraints. For a description of this member, see IReflect.GetMethod. (Inherited from AccessibleObject.)
Explicit interface implemetationPrivate method IReflect.GetMethod(String, BindingFlags, Binder, array<Type[], array<ParameterModifier[]) Infrastructure. Gets a System.Reflection.MethodInfo object corresponding to a specified method, using a Type array to choose from among overloaded methods. For a description of this member, see IReflect.GetMethod. (Inherited from AccessibleObject.)
Explicit interface implemetationPrivate method IReflect.GetMethods Infrastructure. Gets an array of System.Reflection.MethodInfo objects with all public methods or all methods of the current class. For a description of this member, see IReflect.GetMethods. (Inherited from AccessibleObject.)
Explicit interface implemetationPrivate method IReflect.GetProperties Infrastructure. Gets an array of System.Reflection.PropertyInfo objects corresponding to all public properties or to all properties of the current class. For a description of this member, see IReflect.GetProperties. (Inherited from AccessibleObject.)
Explicit interface implemetationPrivate method IReflect.GetProperty(String, BindingFlags) Infrastructure. Gets a System.Reflection.PropertyInfo object corresponding to a specified property under specified search constraints. For a description of this member, see IReflect.GetProperty. (Inherited from AccessibleObject.)
Explicit interface implemetationPrivate method IReflect.GetProperty(String, BindingFlags, Binder, Type, array<Type[], array<ParameterModifier[]) Infrastructure. Gets a System.Reflection.PropertyInfo object corresponding to a specified property with specified search constraints. For a description of this member, see IReflect.GetProperty. (Inherited from AccessibleObject.)
Explicit interface implemetationPrivate method IReflect.InvokeMember Infrastructure. Invokes a specified member. For a description of this member, see IReflect.InvokeMember. (Inherited from AccessibleObject.)
Explicit interface implemetationPrivate property IReflect.UnderlyingSystemType Infrastructure. Gets the underlying type that represents the IReflect object. For a description of this member, see IReflect.UnderlyingSystemType. (Inherited from AccessibleObject.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Modeling.Diagrams Namespace