共用方式為


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)

Syntax

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("96973FC6-C2E4-4CB9-8BAF-7F7CD6DBC604")> _
Public Interface IVsMultiItemSelect
'用途
Dim instance As IVsMultiItemSelect
[InterfaceTypeAttribute()]
[GuidAttribute("96973FC6-C2E4-4CB9-8BAF-7F7CD6DBC604")]
public interface IVsMultiItemSelect
[InterfaceTypeAttribute()]
[GuidAttribute(L"96973FC6-C2E4-4CB9-8BAF-7F7CD6DBC604")]
public interface class IVsMultiItemSelect
[<InterfaceTypeAttribute()>]
[<GuidAttribute("96973FC6-C2E4-4CB9-8BAF-7F7CD6DBC604")>]
type IVsMultiItemSelect =  interface end
public interface IVsMultiItemSelect

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.

See Also

Reference

IVsMultiItemSelect Members

Microsoft.VisualStudio.Shell.Interop Namespace