ShapeSubField.GetAccessibleRole Method
Returns the accessible role.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Overridable Function GetAccessibleRole ( _
parentShape As ShapeElement, _
parentField As ShapeField _
) As AccessibleRole
public virtual AccessibleRole GetAccessibleRole(
ShapeElement parentShape,
ShapeField parentField
)
public:
virtual AccessibleRole GetAccessibleRole(
ShapeElement^ parentShape,
ShapeField^ parentField
)
abstract GetAccessibleRole :
parentShape:ShapeElement *
parentField:ShapeField -> AccessibleRole
override GetAccessibleRole :
parentShape:ShapeElement *
parentField:ShapeField -> AccessibleRole
public function GetAccessibleRole(
parentShape : ShapeElement,
parentField : ShapeField
) : AccessibleRole
Parameters
parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe parent ShapeElement of this ShapeSubField.
parentField
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeFieldThe parent ShapeField of this ShapeSubField.
Return Value
Type: AccessibleRole
.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.