共用方式為


OleMenuCommandService.GlobalInvoke Method

Include Protected Members
Include Inherited Members

Overload List

  Name Description
Public method GlobalInvoke(CommandID) Can be used to invoke any command within Visual Studio. (Overrides MenuCommandService.GlobalInvoke(CommandID).)
Public method GlobalInvoke(CommandID, Object) Can be used to invoke any command within Visual Studio. (Overrides MenuCommandService.GlobalInvoke(CommandID, Object).)

Top

See Also

Reference

OleMenuCommandService Class

OleMenuCommandService Members

Microsoft.VisualStudio.Shell Namespace