This topic has not yet been rated - Rate this topic

IVsMultiItemSelect Interface

Provides the environment with access to multiple selections.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
[InterfaceTypeAttribute()]
[GuidAttribute("96973FC6-C2E4-4CB9-8BAF-7F7CD6DBC604")]
public interface IVsMultiItemSelect

The IVsMultiItemSelect type exposes the following members.

  Name Description
Public method GetSelectedItems Returns an IVsHierarchy interface pointer and item identifier for selected items.
Public method GetSelectionInfo 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.
Top

See illustrations of the implementation and/or calling of this interface in the sample Basic Project.

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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ