This documentation is archived and is not being maintained.

IVsUserContextUpdate Interface

Allows you to update the context bag when an update notification is received from the Dynamic Help window. Allows you to update the context bag when an update notification is received from the Dynamic Help window.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

[GuidAttribute("F5ED7D1C-61B6-428A-8129-E13B36D9E9A7")] 
[InterfaceTypeAttribute(1)] 
public interface IVsUserContextUpdate
/** @attribute GuidAttribute("F5ED7D1C-61B6-428A-8129-E13B36D9E9A7") */ 
/** @attribute InterfaceTypeAttribute(1) */ 
public interface IVsUserContextUpdate
GuidAttribute("F5ED7D1C-61B6-428A-8129-E13B36D9E9A7") 
InterfaceTypeAttribute(1) 
public interface IVsUserContextUpdate

If you have implemented this interface, then you will receive a call from the Dynamic Help window at idle time, when it is updating context. This gives you the opportunity to add and remove context (attributes and keywords) from the context bag before the Dynamic Help window is updated.

See illustrations of the implementation and/or calling of this interface in the sample Figures Edit Sample.

Notes to Implementers Implement this interface if you have called AdviseUpdate on your context bag.

Notes to Callers Called by the environment to send notification to context bags that have implemented this interface.

Show: