Back to Devexpress

AppointmentCollection.GetAppointmentById(Object) Method

corelibraries-devexpress-dot-xtrascheduler-dot-appointmentcollection-dot-getappointmentbyid-x28-system-dot-object-x29.md

latest1.7 KB
Original Source

AppointmentCollection.GetAppointmentById(Object) Method

Gets the appointment by its identifier.

Namespace : DevExpress.XtraScheduler

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

NuGet Package : DevExpress.Scheduler.Core

Declaration

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

Parameters

NameTypeDescription
idObject

An object that is the unique identifier of an appointment.

|

Returns

TypeDescription
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

AppointmentCollection Class

AppointmentCollection Members

DevExpress.XtraScheduler Namespace