Compartir a través de


ShapeField.Selected(ShapeElement, DiagramClientView) Method

Definition

Returns a value indicating whether the field is selected.

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

Parameters

parentShape
ShapeElement

The parent ShapeElement of this ShapeField.

view
DiagramClientView

The DiagramClientView to check.

Returns

true if the field is selected.

Applies to