SchedulerControl.ReplaceService<T>(T) Method
In This Article
Performs a service substitution.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v14.2.dll
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
new |
T | A new service to replace. |
#Type Parameters
Name |
---|
T |
#Returns
Type | Description |
---|---|
T | Previously registered service of the specified type, or null (Nothing in Visual Basic) if the service does not exist. |
#Remarks
Use the ReplaceService<T> method instead of the SchedulerControl.GetService -> SchedulerControl.RemoveService -> SchedulerControl.AddService method sequence.
See Also