IVsUserContextUpdate Interface

Allows you to update the context bag when an update notification is received.

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

public interface IVsUserContextUpdate

The IVsUserContextUpdate type exposes the following members.

Public methodUpdateUserContextSends notification that the context is being updated. This method also clears the dirty flag from the context bag.

If you have implemented this interface, then you will receive when the context is updated. This gives you the opportunity to add and remove context (attributes and keywords) from the context bag before the update.

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.

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

Community Additions

© 2015 Microsoft