Partager via


IVsUserContextUpdate Interface

Definition

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

public interface class IVsUserContextUpdate
public interface class IVsUserContextUpdate
__interface IVsUserContextUpdate
[System.Runtime.InteropServices.Guid("F5ED7D1C-61B6-428A-8129-E13B36D9E9A7")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsUserContextUpdate
[System.Runtime.InteropServices.Guid("F5ED7D1C-61B6-428A-8129-E13B36D9E9A7")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsUserContextUpdate
[<System.Runtime.InteropServices.Guid("F5ED7D1C-61B6-428A-8129-E13B36D9E9A7")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsUserContextUpdate = interface
[<System.Runtime.InteropServices.Guid("F5ED7D1C-61B6-428A-8129-E13B36D9E9A7")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsUserContextUpdate = interface
Public Interface IVsUserContextUpdate
Attributes

Remarks

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(IVsUserContextUpdate, UInt32) on your context bag.

Notes to Callers

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

Methods

UpdateUserContext(IVsUserContext, UInt32)

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

Applies to