Package.IServiceContainer.AddService Method (Type, Object)
Visual Studio 2010
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Adds the given service to the VSPackage's service container.
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.