IVsSelectionContext::IsDiagramSelected Method ()

 

Determines if the current selection is a diagram

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

bool IsDiagramSelected()

Parameters

Return Value

Type: System::Boolean

true: If current selection is a diagram. false: If nothing is selected or if selected element is not a diagram

Return to top
Show: