共用方式為


ShapeSubField.GetAccessibilityObject Method

Definition

Gets the AccessibleObject assigned to the subfield.

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

Parameters

parentShape
ShapeElement

The parent ShapeElement of this ShapeSubField.

parentField
ShapeField

The parent ShapeField of this ShapeSubField.

diagramClientView
DiagramClientView

The view the accessible object is for.

Returns

The AccessibleObject assigned to the subfield.

Applies to