ShapeElement.Selected Method
Verifies whether the shape is selected in a specified view.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Function Selected ( _
view As DiagramClientView _
) As Boolean
public bool Selected(
DiagramClientView view
)
public:
bool Selected(
DiagramClientView^ view
)
member Selected :
view:DiagramClientView -> bool
public function Selected(
view : DiagramClientView
) : boolean
Parameters
view
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientViewThe diagram view.
Return Value
Type: System.Boolean
true if the shape is selected; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.