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