Compartir a través de


Package.AddService Method

Include Protected Members
Include Inherited Members

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Explicit interface implemetationPrivate method IServiceContainer.AddService(Type, ServiceCreatorCallback) Infrastructure. Adds the given service to the VSPackage's service container.
Explicit interface implemetationPrivate method IServiceContainer.AddService(Type, Object) Infrastructure. Adds the given service to the VSPackage's service container.
Explicit interface implemetationPrivate method IServiceContainer.AddService(Type, ServiceCreatorCallback, Boolean) Adds the given service to the service container by means of the specified ServiceCreatorCallback.
Explicit interface implemetationPrivate method IServiceContainer.AddService(Type, Object, Boolean) Infrastructure. Adds the given service to the VSPackage's service container.

Top

See Also

Reference

Package Class

Microsoft.VisualStudio.Shell Namespace