Share via


CommandSet.IsDiagramSelected Method

Verifies whether the diagram is selected.

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

Syntax

'Declaration
Protected Function IsDiagramSelected As Boolean
'Usage
Dim returnValue As Boolean 

returnValue = Me.IsDiagramSelected()
protected bool IsDiagramSelected()
protected:
bool IsDiagramSelected()
protected function IsDiagramSelected() : boolean

Return Value

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

.NET Framework Security

See Also

Reference

CommandSet Class

CommandSet Members

Microsoft.VisualStudio.Modeling.Shell Namespace