ShapeField.GetAccessibilityObject Method
Gets the accessibility object that is assigned to the shape field.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Overridable Function GetAccessibilityObject ( _
parentShape As ShapeElement, _
diagramClientView As DiagramClientView _
) As AccessibleObject
public virtual AccessibleObject GetAccessibilityObject(
ShapeElement parentShape,
DiagramClientView diagramClientView
)
public:
virtual AccessibleObject^ GetAccessibilityObject(
ShapeElement^ parentShape,
DiagramClientView^ diagramClientView
)
abstract GetAccessibilityObject :
parentShape:ShapeElement *
diagramClientView:DiagramClientView -> AccessibleObject
override GetAccessibilityObject :
parentShape:ShapeElement *
diagramClientView:DiagramClientView -> AccessibleObject
public function GetAccessibilityObject(
parentShape : ShapeElement,
diagramClientView : DiagramClientView
) : AccessibleObject
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The parent shape of the shape field.
- diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
The diagram client view.
Return Value
Type: System.Windows.Forms.AccessibleObject
The accessibility object that is assigned to the field.
.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.