共用方式為


Package.AddService Method

Include Protected Members
Include Inherited Members

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

Package Members

Microsoft.VisualStudio.Shell Namespace