Back to Devexpress

IPersistentObject.Delete() Method

corelibraries-devexpress-dot-xtrascheduler-dot-ipersistentobject-0088675c.md

latest2.1 KB
Original Source

IPersistentObject.Delete() Method

Deletes the persistent object from the storage or collection.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.Core.dll

NuGet Package : DevExpress.Scheduler.Core

Declaration

csharp
void Delete()
vb
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

csharp
if (found == null)
    schedulerControl1.SelectedResource.Delete();
else

winforms-scheduler-manage-resources-runtime/VB/SchedulerResourcesManagement/Form1.vb#L98

vb
If found Is Nothing Then
    schedulerControl1.SelectedResource.Delete()
Else

See Also

IPersistentObject Interface

IPersistentObject Members

DevExpress.XtraScheduler Namespace