This topic has not yet been rated - Rate this topic

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)

[GuidAttribute("9C074FDB-3D7D-4512-9604-72B3B0A5F609")] 
[GuidAttribute("9C074FDB-3D7D-4512-9604-72B3B0A5F609")] 
public interface SVsMonitorUserContext
/** @attribute GuidAttribute("9C074FDB-3D7D-4512-9604-72B3B0A5F609") */ 
/** @attribute GuidAttribute("9C074FDB-3D7D-4512-9604-72B3B0A5F609") */ 
public interface SVsMonitorUserContext
GuidAttribute("9C074FDB-3D7D-4512-9604-72B3B0A5F609") 
GuidAttribute("9C074FDB-3D7D-4512-9604-72B3B0A5F609") 
public interface SVsMonitorUserContext

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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ