共用方式為


OleMenuCommandService Constructor

Include Protected Members
Include Inherited Members

Initializes a new instance of OleMenuCommandService.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method OleMenuCommandService(IServiceProvider) Creates a new menu command service.
Public method OleMenuCommandService(IServiceProvider, IOleCommandTarget) Creates a new menu command service.

Top

See Also

Reference

OleMenuCommandService Class

Microsoft.VisualStudio.Shell Namespace