Share via


IVsMonitorSelection Interface

Enables VSPackages to receive notification of selection events and to get 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

'Declaration
<GuidAttribute("55AB9450-F9C7-4305-94E8-BEF12065338D")> _
<InterfaceTypeAttribute()> _
Public Interface IVsMonitorSelection
'Usage
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
public interface IVsMonitorSelection

Remarks

Notes to Callers:

This interface is implemented by the Visual Studio Shell. You can get it from the SVsShellMonitorSelection service.

See Also

Reference

IVsMonitorSelection Members

Microsoft.VisualStudio.Shell.Interop Namespace