Skip to main content

AppointmentCollection.GetAppointmentById(Object) Method

Gets the appointment by its identifier.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.Core.dll

NuGet Package: DevExpress.Scheduler.Core

Declaration

public Appointment GetAppointmentById(
    object id
)

Parameters

Name Type Description
id Object

An object that is the unique identifier of an appointment.

Returns

Type Description
Appointment

An Appointment object.

Remarks

For Scheduler persistent objects, such as appointments, resources or appointment dependencies, the identifier is obtained using the PersistentObject.Id property.

See Also