共用方式為


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

'宣告
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

Return Value

Type: System.Windows.Forms.AccessibleRole

.NET Framework Security

See Also

Reference

ShapeSubField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace