ShapeElement.Selected Method

Verifies whether the shape is selected in a specified view.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'Declaration
Public Function Selected ( _
    view As DiagramClientView _
) As Boolean
'Usage
Dim instance As ShapeElement 
Dim view As DiagramClientView 
Dim returnValue As Boolean 

returnValue = instance.Selected(view)
public bool Selected(
    DiagramClientView view
)
public:
bool Selected(
    DiagramClientView^ view
)
public function Selected(
    view : DiagramClientView
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the shape is selected; otherwise, false.

.NET Framework Security

See Also

Reference

ShapeElement Class

ShapeElement Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace