Back to Devexpress

AppointmentStatusCollection.GetByType(AppointmentStatusType) Method

windowsforms-devexpress-dot-xtrascheduler-dot-appointmentstatuscollection-dot-getbytype-x28-devexpress-dot-xtrascheduler-dot-appointmentstatustype-x29.md

latest2.0 KB
Original Source

AppointmentStatusCollection.GetByType(AppointmentStatusType) Method

Obtains a status object specified by its type.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
public AppointmentStatus GetByType(
    AppointmentStatusType type
)
vb
Public Function GetByType(
    type As AppointmentStatusType
) As AppointmentStatus

Parameters

NameTypeDescription
typeAppointmentStatusType

An AppointmentStatusType enumeration member that is the status type.

|

Returns

TypeDescription
AppointmentStatus

A AppointmentStatus object with the specified AppointmentStatus.Type property value.

|

Remarks

The GetByType method obtains the first appointment status of the specified type from the AppointmentStatusCollection collection.

See Also

AppointmentStatusCollection Class

AppointmentStatusCollection Members

DevExpress.XtraScheduler Namespace