AppointmentCollection.GetAppointmentById(Object) Method

Gets the appointment by its identifier.

Namespace: DevExpress.XtraScheduler

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

Declaration

public Appointment GetAppointmentById(
    object id
)
Public Function GetAppointmentById(
    id As Object
) As Appointment

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