共用方式為


LineSegment.GetAccessibleState(LinkShape, DiagramClientView) Method

Definition

Retrieves the accessible state of this LineSegment.

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

Parameters

parentShape
LinkShape

The LinkShape that contains this LineSegment.

diagramClientView
DiagramClientView

The view the accessible object is for.

Returns

The AccessibleState of this LineSegment.

Applies to