Partager via


ListItemSubField.GetAccessibleRole(ShapeElement, ShapeField) Method

Definition

Returns the accessible role.

public:
 override System::Windows::Forms::AccessibleRole GetAccessibleRole(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape, Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ parentField);
public override System.Windows.Forms.AccessibleRole GetAccessibleRole (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape, Microsoft.VisualStudio.Modeling.Diagrams.ShapeField parentField);
override this.GetAccessibleRole : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField -> System.Windows.Forms.AccessibleRole
Public Overrides 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