ShapeField.GetAccessibleRole Method
Gets the role of the shape field for the accessible object.
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 GetAccessibleRole ( _
parentShape As ShapeElement _
) As AccessibleRole
public virtual AccessibleRole GetAccessibleRole(
ShapeElement parentShape
)
public:
virtual AccessibleRole GetAccessibleRole(
ShapeElement^ parentShape
)
abstract GetAccessibleRole :
parentShape:ShapeElement -> AccessibleRole
override GetAccessibleRole :
parentShape:ShapeElement -> AccessibleRole
public function GetAccessibleRole(
parentShape : ShapeElement
) : AccessibleRole
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The shape element to which the shape field is assigned.
Return Value
Type: System.Windows.Forms.AccessibleRole
The role of the shape field for the accessible object.
.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.