Skip to main content
Row

Workbook.AddService Method

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

Adds the specified service to the service container.

You need a license for the DevExpress Office File API Subscription 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 need a license for the DevExpress Office File API Subscription 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 need a license for the DevExpress Office File API Subscription 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 need a license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this method in production code.