This member overrides ShapeSubField.GetAccessibleRole(ShapeElement, ShapeField).
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overrides Function GetAccessibleRole ( _
parentShape As ShapeElement, _
parentField As ShapeField _
) As AccessibleRole
'使用
Dim instance As ListItemSubField
Dim parentShape As ShapeElement
Dim parentField As ShapeField
Dim returnValue As AccessibleRole
returnValue = instance.GetAccessibleRole(parentShape, _
parentField)
public override AccessibleRole GetAccessibleRole(
ShapeElement parentShape,
ShapeField parentField
)
public:
virtual AccessibleRole GetAccessibleRole(
ShapeElement^ parentShape,
ShapeField^ parentField
) override
public override function GetAccessibleRole(
parentShape : ShapeElement,
parentField : ShapeField
) : AccessibleRole
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
- parentField
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeField
Return Value
Type: System.Windows.Forms.AccessibleRole
Permissions
- 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.