IServiceContainer.AddService Method

 

Adds the specified service to the service container.

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

NameDescription
System_CAPS_pubmethodAddService(Type, Object)

Adds the specified service to the service container.

System_CAPS_pubmethodAddService(Type, Object, Boolean)

Adds the specified service to the service container, and optionally promotes the service to any parent service containers.

System_CAPS_pubmethodAddService(Type, ServiceCreatorCallback)

Adds the specified service to the service container.

System_CAPS_pubmethodAddService(Type, ServiceCreatorCallback, Boolean)

Adds the specified service to the service container, and optionally promotes the service to parent service containers.

Return to top
Show: