Leggere in inglese

Condividi tramite


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

<GuidAttribute("9C074FDB-3D7D-4512-9604-72B3B0A5F609")> _
<GuidAttribute("9C074FDB-3D7D-4512-9604-72B3B0A5F609")> _
Public Interface SVsMonitorUserContext

Dim instance As SVsMonitorUserContext
[GuidAttribute("9C074FDB-3D7D-4512-9604-72B3B0A5F609")]
[GuidAttribute("9C074FDB-3D7D-4512-9604-72B3B0A5F609")]
public interface SVsMonitorUserContext
[GuidAttribute(L"9C074FDB-3D7D-4512-9604-72B3B0A5F609")]
[GuidAttribute(L"9C074FDB-3D7D-4512-9604-72B3B0A5F609")]
public interface class SVsMonitorUserContext
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