SchedulerControl.RemoveService(Type, Boolean) Method
Removes the service of the specified type from the service container.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v14.2.dll
Declaration
public void RemoveService(
Type serviceType,
bool promote
)
Public Sub RemoveService(
serviceType As Type,
promote As Boolean
)
Parameters
| Name | Type | Description |
|---|---|---|
| serviceType | Type | The type of service to remove. |
| promote | Boolean | true to promote this request to any parent service containers; otherwise, false. |
Remarks
The SchedulerControl implements the IServiceProvider and IServiceContainer interfaces. A mechanism for adding services is provided by the SchedulerControl.AddService method. To obtain a service, call the SchedulerControl.GetService method.
Implements
See Also