Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

Workbook.AddService Method

Name Parameters Description
AddService(Type, ServiceCreatorCallback, Boolean) serviceType, callback, promote

Adds the specified service to the service container.

You require a license to the DevExpress Office File API or DevExpress Universal Subscription to use this method in production code.

AddService(Type, ServiceCreatorCallback) serviceType, callback

Adds the specified service to the service container.

You require a license to the DevExpress Office File API or DevExpress Universal Subscription to use this method in production code.

AddService(Type, Object, Boolean) serviceType, serviceInstance, promote

Adds the specified service to the service container.

You require a license to the DevExpress Office File API or DevExpress Universal Subscription to use this method in production code.

AddService(Type, Object) serviceType, serviceInstance

Adds the specified service to the service container.

You require a license to the DevExpress Office File API or DevExpress Universal Subscription to use this method in production code.