Partilhar via


Diagram.IsSelected Method

Verifies whether a shape is selected in a diagram view.

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

Syntax

'Declaração
Public Function IsSelected ( _
    shape As ShapeElement _
) As Boolean
public bool IsSelected(
    ShapeElement shape
)
public:
bool IsSelected(
    ShapeElement^ shape
)
member IsSelected : 
        shape:ShapeElement -> bool 
public function IsSelected(
    shape : ShapeElement
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the shape is selected in a diagram view; otherwise, false.

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace