共用方式為


ShapeField.GetAccessibleRole(ShapeElement) Method

Definition

Retrieves the accessible role of this ShapeField.

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

Parameters

parentShape
ShapeElement

The ShapeElement that contains this ShapeField.

Returns

The AccessibleRole of this ShapeField.

Applies to