IServiceContainer.AddService Method
Visual Studio 2015
Adds the given service to the VSPackage's service container.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | IServiceContainer.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. |
![]() ![]() | IServiceContainer.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. |
![]() ![]() | IServiceContainer.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. |
![]() ![]() | IServiceContainer.AddService(Type, ServiceCreatorCallback, Boolean) | Adds the given service to the service container by means of the specified ServiceCreatorCallback. |
Show:

