Skip to main content

Appointment.ResourceIds Property

Gets the identifiers of all resources which are associated with the current appointment.

Namespace: DevExpress.XtraScheduler

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

#Declaration

public AppointmentResourceIdCollection ResourceIds { get; }

#Property Value

Type Description
AppointmentResourceIdCollection

An DevExpress.XtraScheduler.AppointmentResourceIdCollection object which contains all resource identifiers.

#Remarks

The ResourceIds property specifies the collection of unique identifiers of all the appointment's associated resources.

Resources are used to group schedules and facilitate the task of managing user time. An appointment can be associated with a single resource, or many resources (if the AppointmentStorage.ResourceSharing property is set to true), or it can be standalone. To associate an appointment with a resource, the appointment's Appointment.ResourceId property should be set to a value specified by the required resource's Resource.Id property. For standalone appointments, the ResourceIds property is set to the DevExpress.XtraScheduler.Resource.Empty.Id property's value.

NOTE

If an appointment does not belong to any particular resource, it is considered to be assigned to all resources. Therefore, this appointment is shown for all resources simultaneously. The visibility of standalone appointments is controlled by the OptionsView.ShowOnlyResourceAppointments property.

See Also