Informs the environment to update the state of the command bars (menus and toolbars).
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
'Declaración Function UpdateCommandUI ( _ fImmediateUpdate As Integer _ ) As Integer 'Uso Dim instance As IVsUIShell Dim fImmediateUpdate As Integer Dim returnValue As Integer returnValue = instance.UpdateCommandUI(fImmediateUpdate)
int UpdateCommandUI( int fImmediateUpdate )
int UpdateCommandUI( [InAttribute] int fImmediateUpdate )
abstract UpdateCommandUI : fImmediateUpdate:int -> int
function UpdateCommandUI( fImmediateUpdate : int ) : int
[in] true if the update is performed synchronously (immediately). It is strongly recommended to pass false for this parameter.
HRESULT IVsUIShell::UpdateCommandUI( [in] BOOL fImmediateUpdate );
This method is equivalent to UpdateUI. It causes the environment to re-query by means of IOleCommandTarget the state of all commands. Typically, the update is not performed immediately but rather delayed until idle time.
.NET Framework Security
- 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.