共用方式為


ICommandExtension.QueryStatus(IMenuCommand) Method

Definition

Decide dynamically whether to show this menu command

public:
 void QueryStatus(Microsoft::VisualStudio::Modeling::ExtensionEnablement::IMenuCommand ^ command);
public void QueryStatus (Microsoft.VisualStudio.Modeling.ExtensionEnablement.IMenuCommand command);
abstract member QueryStatus : Microsoft.VisualStudio.Modeling.ExtensionEnablement.IMenuCommand -> unit
Public Sub QueryStatus (command As IMenuCommand)

Parameters

command
IMenuCommand

IMenuCommand

Applies to