Partager via


SVsMonitorUserContext Interface

Passed to GetService to return a reference to IVsMonitorUserContext.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
<GuidAttribute("9C074FDB-3D7D-4512-9604-72B3B0A5F609")> _
<GuidAttribute("9C074FDB-3D7D-4512-9604-72B3B0A5F609")> _
<ComVisibleAttribute(False)> _
Public Interface SVsMonitorUserContext
[GuidAttribute("9C074FDB-3D7D-4512-9604-72B3B0A5F609")]
[GuidAttribute("9C074FDB-3D7D-4512-9604-72B3B0A5F609")]
[ComVisibleAttribute(false)]
public interface SVsMonitorUserContext
[GuidAttribute(L"9C074FDB-3D7D-4512-9604-72B3B0A5F609")]
[GuidAttribute(L"9C074FDB-3D7D-4512-9604-72B3B0A5F609")]
[ComVisibleAttribute(false)]
public interface class SVsMonitorUserContext
[<GuidAttribute("9C074FDB-3D7D-4512-9604-72B3B0A5F609")>]
[<GuidAttribute("9C074FDB-3D7D-4512-9604-72B3B0A5F609")>]
[<ComVisibleAttribute(false)>]
type SVsMonitorUserContext =  interface end
public interface SVsMonitorUserContext

Remarks

Context bags are used to store attribute and keyword context related to a particular environment component, such as an editor, hierarchy, or tool window. Subcontext bags are used to store attribute and keyword context for selections or commands within one of these components. The first step in creating either a context or subcontext bag is to obtain a pointer to the IVsMonitorUserContext interface using the SvsMonitorUserContext Service.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace