ExtensionContextExtensions::IsSingleSelection Method (IVsSelectionContext^)
Visual Studio 2015
Returns whether or not there is only one selected item on the active window. This could be a document or tool window.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: [ExtensionAttribute] static bool IsSingleSelection( IVsSelectionContext^ context )
Parameters
Return Value
Type: System::Booleantrue: if there is exactly one selected item in the active window. false: otherwise.
Show: