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

Workbook.RemoveService(Type) Method

Removes the service of the specified type from the service container.

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

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Docs.v19.1.dll

Declaration

public void RemoveService(
    Type serviceType
)

Parameters

Name Type Description
serviceType Type

The type of service to remove.

Remarks

The Workbook implements the IServiceProvider and IServiceContainer interfaces. In addition to providing services, it also provides a mechanism for adding and removing services. To obtain a service, call the Workbook.GetService method.

See Also