Compartir a través de


IVsMonitorUserContext Interface

Definition

Creates a new context or subcontext bag.

public interface class IVsMonitorUserContext
public interface class IVsMonitorUserContext
__interface IVsMonitorUserContext
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("9C074FDB-3D7D-4512-9604-72B3B0A5F609")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsMonitorUserContext
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("9C074FDB-3D7D-4512-9604-72B3B0A5F609")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsMonitorUserContext
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("9C074FDB-3D7D-4512-9604-72B3B0A5F609")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsMonitorUserContext = interface
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("9C074FDB-3D7D-4512-9604-72B3B0A5F609")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsMonitorUserContext = interface
Public Interface IVsMonitorUserContext
Attributes

Remarks

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.

Methods

AdviseContextItemEvents(IVsUserContextItemEvents, UInt32)

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

CreateEmptyContext(IVsUserContext)

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

FindTargetItems(String, String, IVsUserContextItemCollection, Int32)

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

get_ApplicationContext(IVsUserContext)

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

GetContextItems(IVsUserContextItemCollection)

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

GetF1Kwd(String, Int32)

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

GetNextCtxBag(String, String)

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

GetNextCtxBagAttr(String, String)

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

GetPrevAttrCache(IntPtr, IntPtr, Int32)

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

IsF1Lookup(Int32)

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

IsIdleAvailable(Int32)

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

put_ApplicationContext(IVsUserContext)

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

RegisterItemProvider(IVsUserContextItemProvider, UInt32)

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

ResetNextCtxBagAttr()

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

SetSite(IServiceProvider)

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

SetTopicTypeFilter(IVsHelpAttributeList)

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

UnadviseContextItemEvent(UInt32)

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

UnregisterItemProvider(UInt32)

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

Applies to