Appointment.ResourceIds Property

Gets a collection of identifiers of all resources associated with the current appointment.

Namespace: DevExpress.XtraScheduler

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

Declaration

AppointmentResourceIdCollection ResourceIds { get; }
ReadOnly Property ResourceIds As AppointmentResourceIdCollection

Property Value

Type Description
AppointmentResourceIdCollection

An AppointmentResourceIdCollection object which contains resource identifiers.

Remarks

The ResourceIds property specifies the collection of identifiers of all associated resources.

Resources are used to group schedules. An appointment can be associated with a resource, or it can be standalone. To associate an appointment with a resource, add resource identifier to the AppointmentResourceIdCollection collection accessed by the ResourceIds property. Resource identifier is a value of the IPersistentObject.Id property.

NOTE

If an appointment doesn't belong to any particular resource (the ResourceIds property is set to the DevExpress.XtraScheduler.Resource.Empty.Id), it is considered assigned to all resources. Hence, this appointment is shown for all resources. Appointments without assigned resources are hidden if the SchedulerOptionsViewBase.ShowOnlyResourceAppointments property is set to true.

See Also