Updates the status of the specified menu command.
Namespace: Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'宣言
Sub UpdateCommandStatus ( _
command As MenuCommand _
)
'使用
Dim instance As IVsDataViewCommandProvider
Dim command As MenuCommand
instance.UpdateCommandStatus(command)
void UpdateCommandStatus(
MenuCommand command
)
void UpdateCommandStatus(
MenuCommand^ command
)
function UpdateCommandStatus(
command : MenuCommand
)
Parameters
command
Type: System.ComponentModel.Design.MenuCommandA MenuCommand object representing the command to 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.
See Also
Reference
IVsDataViewCommandProvider Interface
IVsDataViewCommandProvider Members
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace