Commands2.UpdateCommandUI Method
Forces a refresh of the command UI state.
Namespace: EnvDTE80
Assembly: EnvDTE80 (in EnvDTE80.dll)
Syntax
'Declaration
Sub UpdateCommandUI ( _
PerformImmediately As Boolean _
)
void UpdateCommandUI(
bool PerformImmediately
)
void UpdateCommandUI(
bool PerformImmediately
)
abstract UpdateCommandUI :
PerformImmediately:bool -> unit
function UpdateCommandUI(
PerformImmediately : boolean
)
Parameters
PerformImmediately
Type: BooleanOptional. If true, then the update is performed before UpdateCommandUI returns. If false, then UpdateCommandUI returns and the update is performed during 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.