Skip to main content
A newer version of this page is available. .

AppointmentCollection.GetAppointmentById(Object) Method

Gets the appointment by its identifier.

Namespace: DevExpress.XtraScheduler

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

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