ShapeSubField.GetAccessibleRole Method
Returns the accessible role.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Dichiarazione
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.ShapeElement
The parent ShapeElement of this ShapeSubField.
- parentField
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
The parent ShapeField of this ShapeSubField.
Return Value
Type: System.Windows.Forms.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.