corelibraries-devexpress-dot-xtrascheduler-dot-ipersistentobject-0088675c.md
Deletes the persistent object from the storage or collection.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.Core.dll
NuGet Package : DevExpress.Scheduler.Core
void Delete()
Sub Delete
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Delete() 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.
winforms-scheduler-manage-resources-runtime/CS/SchedulerResourcesManagement/Form1.cs#L96
if (found == null)
schedulerControl1.SelectedResource.Delete();
else
winforms-scheduler-manage-resources-runtime/VB/SchedulerResourcesManagement/Form1.vb#L98
If found Is Nothing Then
schedulerControl1.SelectedResource.Delete()
Else
See Also