LineSegment.GetAccessibilityObject Method
Gets the AccessibleObject assigned to the line segment.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
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 LinkShape that contains this line segment.
- diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
The view the accessible object is for.
Return Value
Type: System.Windows.Forms.AccessibleObject
.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.