MenuCommandService Constructor (IServiceProvider^)

 

Initializes a new instance of the MenuCommandService class.

Namespace:   System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)

public:
MenuCommandService(
	IServiceProvider^ serviceProvider
)

Parameters

serviceProvider
Type: System::IServiceProvider^

The service provider that this service uses to obtain other services.

If the service is being used with a designer, the serviceProvider parameter should be the service provider for the designer, as is the case with DesignSurface.

.NET Framework
Available since 2.0
Return to top
Show: