Skip to main content
A newer version of this page is available. .

ASPxScheduler.RemoveService(Type) Method

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

Namespace: DevExpress.Web.ASPxScheduler

Assembly: DevExpress.Web.ASPxScheduler.v19.2.dll

Declaration

public void RemoveService(
    Type serviceType
)

Parameters

Name Type Description
serviceType Type

The type of service to remove.

Remarks

The SchedulerControl implements 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 ASPxScheduler.GetService method.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RemoveService(Type) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also