Compartilhar via


IVsMultiItemSelect Interface

Definition

Provides the environment with access to multiple selections.

public interface class IVsMultiItemSelect
public interface class IVsMultiItemSelect
__interface IVsMultiItemSelect
[System.Runtime.InteropServices.Guid("96973FC6-C2E4-4CB9-8BAF-7F7CD6DBC604")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsMultiItemSelect
[System.Runtime.InteropServices.Guid("96973FC6-C2E4-4CB9-8BAF-7F7CD6DBC604")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsMultiItemSelect
[<System.Runtime.InteropServices.Guid("96973FC6-C2E4-4CB9-8BAF-7F7CD6DBC604")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsMultiItemSelect = interface
[<System.Runtime.InteropServices.Guid("96973FC6-C2E4-4CB9-8BAF-7F7CD6DBC604")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsMultiItemSelect = interface
Public Interface IVsMultiItemSelect
Attributes

Remarks

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.

Methods

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.

Applies to