共用方式為


ShapeField.GetAccessibilityObject(ShapeElement, DiagramClientView) Method

Definition

Gets the AccessibleObject assigned to the field.

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

Parameters

parentShape
ShapeElement

The ShapeElement that contains this ShapeField.

diagramClientView
DiagramClientView

The view the accessible object is for.

Returns

Applies to