ExtensionContextExtensions::AtLeastOneSelected<T> Method (IVsSelectionContext^)
Visual Studio 2015
Helper returning true if the selection contains at least an element of type T
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: generic<typename T> where T : ref class [ExtensionAttribute] static bool AtLeastOneSelected( IVsSelectionContext^ context )
Parameters
- command
Dynamic command to enable
Return Value
Type: System::BooleanType Parameters
- T
Type of the element
Show: