共用方式為


ShapeElement.Selected(DiagramClientView) Method

Definition

Returns a value indicating whether this shape is selected in the specified view.

public:
 bool Selected(Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ view);
public bool Selected (Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView view);
member this.Selected : Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> bool
Public Function Selected (view As DiagramClientView) As Boolean

Parameters

view
DiagramClientView

The DiagramClientView to be checked.

Returns

true if this shape is selected.

Applies to