IServiceContainer Methods

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

System_CAPS_pubmethodGetService(Type)

Gets the service object of the specified type.(Inherited from IServiceProvider.)

System_CAPS_pubmethodRemoveService(Type)

Removes the specified service type from the service container.

System_CAPS_pubmethodRemoveService(Type, Boolean)

Removes the specified service type from the service container, and optionally promotes the service to parent service containers.

Return to top
Show: