VsUtilities.UpdateCommandUI Method
Sends a message to update all the menu and toolbar buttons.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Common.Host
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Shared Sub UpdateCommandUI ( _
updateImmediately As Boolean _
)
'Usage
Dim updateImmediately As Boolean
VsUtilities.UpdateCommandUI(updateImmediately)
public static void UpdateCommandUI(
bool updateImmediately
)
public:
static void UpdateCommandUI(
bool updateImmediately
)
public static function UpdateCommandUI(
updateImmediately : boolean
)
static member UpdateCommandUI :
updateImmediately:bool -> unit
Parameters
- updateImmediately
Type: System.Boolean
Describes whether VS will update the buttons immediately
.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.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Common.Host Namespace