Partager via


SVsMonitorUserContext Interface

Definition

Passed to GetService(Type) to return a reference to IVsMonitorUserContext.

public interface class SVsMonitorUserContext
public interface class SVsMonitorUserContext
__interface SVsMonitorUserContext
[System.Runtime.InteropServices.ComVisible(false)]
[System.Runtime.InteropServices.Guid("9C074FDB-3D7D-4512-9604-72B3B0A5F609")]
public interface SVsMonitorUserContext
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Runtime.InteropServices.Guid("9C074FDB-3D7D-4512-9604-72B3B0A5F609")>]
type SVsMonitorUserContext = interface
Public Interface SVsMonitorUserContext
Attributes

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.

Applies to