IVsMultiItemSelect Interface
Provides the environment with access to multiple selections.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
| Name | Description | |
|---|---|---|
![]() | GetSelectedItems(UInt32, UInt32, VSITEMSELECTION()) | Returns an IVsHierarchy interface pointer and item identifier for selected items. |
![]() | GetSelectionInfo(UInt32, Int32) | Returns a flag that indicates whether or not the selected items belong to one or more hierarchies and a count of the number of selected items. |
See illustrations of the implementation and/or calling of this interface in the sample .385fd2a3-d9f1-4808-87c2-a3f05a91fc36
Notes to Implementers:
VSPackages implement IVsMultiItemSelect if they include a hierarchy as part of their project or support multiple selections in their active windows.
Notes to Callers:
Call the methods of IVsMultiItemSelect to retrieve project hierarchy and item information when multiple objects make up the current selection. IVsMultiItemSelect can be used to add items to a hierarchy and to update the Solution Explorer.
