Share via


ExtensionContextExtensions.AtLeastOneSelected Method

Include Protected Members
Include Inherited Members

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member AtLeastOneSelected<T>(IVsSelectionContext) Helper returning true if the selection contains at least an element of type T
Public methodStatic member AtLeastOneSelected<T1, T2>(IVsSelectionContext) Helper returning true if the selection contains at least an element of type T1 or T2.

Top

See Also

Reference

ExtensionContextExtensions Class

Microsoft.VisualStudio.Modeling.Diagrams.ExtensionEnablement Namespace