ServiceProvider.AddService Method

Adds the specified service to the internal collection of services.

Overload List

  Name Description
Public method AddService(Type, ServiceCreatorCallback) Adds the specified service to the internal collection of services.
Public method AddService(Type, Object) Adds the specified service to the internal collection of services.
Public method AddService(Type, ServiceCreatorCallback, Boolean) Adds the specified service to the internal collection of services or to the parent service container.
Public method AddService(Type, Object, Boolean) Adds the specified service to the collection of service objects or to the parent service container.

Top

See Also

Reference

ServiceProvider Class

ServiceProvider Members

Microsoft.VisualStudio.Data.Framework Namespace