IVsUserContext.Update Method
Called internally by the Dynamic Help window to update user context.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaración
Function Update As Integer
'Uso
Dim instance As IVsUserContext
Dim returnValue As Integer
returnValue = instance.Update()
int Update()
int Update()
function Update() : int
Return Value
Type: System.Int32
Remarks
Use the IsDirty method to determine whether the user context has changed and the SetDirty method to flag that the contents of the context or subcontext bag have changed. At idle time, the Dynamic Help window updates its context from all context bags in the active selection that are identified as having changed by calling IVsUserContext.Update.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.