IVsMonitorUserContext Interface

 

Creates a new context or subcontext bag.

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

[GuidAttribute("9C074FDB-3D7D-4512-9604-72B3B0A5F609")]
[ComConversionLossAttribute]
[InterfaceTypeAttribute(1)]
public interface IVsMonitorUserContext

NameDescription
System_CAPS_pubmethodAdviseContextItemEvents(IVsUserContextItemEvents, UInt32)

Method information is not provided. Do not use this method.

System_CAPS_pubmethodCreateEmptyContext(IVsUserContext)

Creates a new context or subcontext bag on the context provider.

System_CAPS_pubmethodFindTargetItems(String, String, IVsUserContextItemCollection, Int32)

Method information is not provided. Do not use this method.

System_CAPS_pubmethodget_ApplicationContext(IVsUserContext)

Method information is not provided. Do not use this method.

System_CAPS_pubmethodGetContextItems(IVsUserContextItemCollection)

Method information is not provided. Do not use this method.

System_CAPS_pubmethodGetF1Kwd(String, Int32)

Method information is not provided. Do not use this method.

System_CAPS_pubmethodGetNextCtxBag(String, String)

Method information is not provided. Do not use this method.

System_CAPS_pubmethodGetNextCtxBagAttr(String, String)

Method information is not provided. Do not use this method.

System_CAPS_pubmethodGetPrevAttrCache(IntPtr, IntPtr, Int32)

Method information is not provided. Do not use this method.

System_CAPS_pubmethodIsF1Lookup(Int32)

Method information is not provided. Do not use this method.

System_CAPS_pubmethodIsIdleAvailable(Int32)

Method information is not provided. Do not use this method.

System_CAPS_pubmethodput_ApplicationContext(IVsUserContext)

Method information is not provided. Do not use this method.

System_CAPS_pubmethodRegisterItemProvider(IVsUserContextItemProvider, UInt32)

Method information is not provided. Do not use this method.

System_CAPS_pubmethodResetNextCtxBagAttr()

Method information is not provided. Do not use this method.

System_CAPS_pubmethodSetSite(IServiceProvider)

Method information is not provided. Do not use this method.

System_CAPS_pubmethodSetTopicTypeFilter(IVsHelpAttributeList)

Method information is not provided. Do not use this method.

System_CAPS_pubmethodUnadviseContextItemEvent(UInt32)

Method information is not provided. Do not use this method.

System_CAPS_pubmethodUnregisterItemProvider(UInt32)

Method information is not provided. Do not use this method.

The majority of methods provided by the IVsMonitorUserContext interface are only used internally by the environment. However, you can use this interface to create a context or subcontext bag. To create a new context bag, call QueryService on the SVsMonitorUserContext service to get a pointer to the IVsMonitorUserContext interface. Once you have the pointer to this interface, call CreateEmptyContext to create a new context bag and to receive a pointer to IVsUserContext. You can then call the AddAttribute method to add attributes, lookup keywords, or F1 keywords to the context bag. Use this same procedure to create a subcontext bag, and then call AddSubcontext to add attributes and keywords to the subcontext bag.

Notes to Callers:

Call to create a new context or subcontext bag.

Return to top
Show: