IServiceContainer.AddService Method

 

Adds the given service to the VSPackage's service container.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIServiceContainer.AddService(Type, Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Adds the given service to the VSPackage's service container.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIServiceContainer.AddService(Type, Object, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Adds the given service to the VSPackage's service container.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIServiceContainer.AddService(Type, ServiceCreatorCallback)

This API supports the product infrastructure and is not intended to be used directly from your code. Adds the given service to the VSPackage's service container.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIServiceContainer.AddService(Type, ServiceCreatorCallback, Boolean)

Adds the given service to the service container by means of the specified ServiceCreatorCallback.

Return to top
Show: