Share via


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: System.Boolean

    Optional. 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

See Also

Reference

Commands2 Interface

EnvDTE80 Namespace