IVsMonitorSelection Interface
Enables VSPackages to receive notification of selection events and to retrieve information about the current project hierarchy, item, element value, and command UI context.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Déclaration
<GuidAttribute("55AB9450-F9C7-4305-94E8-BEF12065338D")> _
<InterfaceTypeAttribute()> _
Public Interface IVsMonitorSelection
'Utilisation
Dim instance As IVsMonitorSelection
[GuidAttribute("55AB9450-F9C7-4305-94E8-BEF12065338D")]
[InterfaceTypeAttribute()]
public interface IVsMonitorSelection
[GuidAttribute(L"55AB9450-F9C7-4305-94E8-BEF12065338D")]
[InterfaceTypeAttribute()]
public interface class IVsMonitorSelection
[<GuidAttribute("55AB9450-F9C7-4305-94E8-BEF12065338D")>]
[<InterfaceTypeAttribute()>]
type IVsMonitorSelection = interface end
public interface IVsMonitorSelection
Remarks
See illustrations of the implementation and/or calling of this interface in the sample Basic Project.
Notes to Callers
VSPackages call the methods of IVsMonitorSelection through the SVsMonitorSelection service to register for selection event notification, to cancel the registration, to retrieve current selections and element values, and to manage command UI context information.