Expand Minimize

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")]
[ComVisibleAttribute(false)]
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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft