Share via


ShapeSubField.GetAccessibleRole(ShapeElement, ShapeField) Method

Definition

Returns the accessible role.

public:
 virtual System::Windows::Forms::AccessibleRole GetAccessibleRole(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ parentField);
public virtual System.Windows.Forms.AccessibleRole GetAccessibleRole (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.ShapeField parentField);
abstract member GetAccessibleRole : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField -> System.Windows.Forms.AccessibleRole
override this.GetAccessibleRole : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField -> System.Windows.Forms.AccessibleRole
Public Overridable Function GetAccessibleRole (parentShape As ShapeElement, parentField As ShapeField) As AccessibleRole

Parameters

parentShape
ShapeElement

The parent ShapeElement of this ShapeSubField.

parentField
ShapeField

The parent ShapeField of this ShapeSubField.

Returns

The accessible role.

Applies to