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 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public Overridable Function GetAccessibleRole ( _
parentShape As ShapeElement _
) As AccessibleRole
'Usage
Dim instance As ShapeField
Dim parentShape As ShapeElement
Dim returnValue As AccessibleRole
returnValue = instance.GetAccessibleRole(parentShape)
public virtual AccessibleRole GetAccessibleRole(
ShapeElement parentShape
)
public:
virtual AccessibleRole GetAccessibleRole(
ShapeElement^ parentShape
)
public function GetAccessibleRole(
parentShape : ShapeElement
) : AccessibleRole
Parameters
parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe 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.