aspnet-devexpress-dot-web-dot-aspxscheduler-dot-aspxappointmentmappinginfo-e94025a1.md
Gets or sets the data field to which an appointment’s Appointment.ResourceId property is bound.
Namespace : DevExpress.Web.ASPxScheduler
Assembly : DevExpress.Web.ASPxScheduler.v25.2.dll
NuGet Package : DevExpress.Web.Scheduler
[DefaultValue("")]
public override string ResourceId { get; set; }
<DefaultValue("")>
Public Overrides Property ResourceId As String
| Type | Default | Description |
|---|---|---|
| String | String.Empty |
A String value that specifies the name of the bound data field.
|
Use the ResourceId property to bind an appointment’s Appointment.ResourceId property to a data field.
The following code snippets (auto-collected from DevExpress Examples) contain references to the ResourceId property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
appointmentStorage.Mappings.Status = "Status";
appointmentStorage.Mappings.ResourceId = "CarId";
return appointmentStorage;
asp-net-mvc-scheduler-crud-operations/CS/MVCSchedulerEditable/Models/SchedulerStorageProvider.cs#L34
appointmentStorage.Mappings.Status = "Status";
appointmentStorage.Mappings.ResourceId = "ResourceID";
return appointmentStorage;
appointmentStorage.Mappings.Status = "Status";
appointmentStorage.Mappings.ResourceId = "ResourceID";
return appointmentStorage;
asp-net-mvc-scheduler-custom-appointment-form/CS/Models/Scheduling.cs#L86
appointmentStorage.Mappings.Status = "Status";
appointmentStorage.Mappings.ResourceId = "CarId";
appointmentStorage.CustomFieldMappings.Add("Price", "Price");
appointmentStorage.Mappings.ReminderInfo = "ReminderInfo";
appointmentStorage.Mappings.ResourceId = "OwnerId";
appointmentStorage.Mappings.Status = "Status";
asp-net-mvc-scheduler-crud-operations/VB/MVCSchedulerEditable/Models/SchedulerStorageProvider.vb#L31
appointmentStorage.Mappings.Status = "Status"
appointmentStorage.Mappings.ResourceId = "ResourceID"
Return appointmentStorage
appointmentStorage.Mappings.Status = "Status"
appointmentStorage.Mappings.ResourceId = "ResourceID"
Return appointmentStorage
asp-net-mvc-scheduler-custom-appointment-form/VB/Models/Scheduling.vb#L89
appointmentStorage.Mappings.Status = "Status"
appointmentStorage.Mappings.ResourceId = "CarId"
appointmentStorage.CustomFieldMappings.Add("Price", "Price")
appointmentStorage.Mappings.ReminderInfo = "ReminderInfo"
appointmentStorage.Mappings.ResourceId = "OwnerId"
appointmentStorage.Mappings.Status = "Status"
asp-net-mvc-scheduler-use-checkboxlist-to-filter-resources/VB/Code/SchedulerHelper.vb#L67
appointmentStorage.Mappings.Status = "Status"
appointmentStorage.Mappings.ResourceId = "CarId"
Return appointmentStorage
See Also
ASPxAppointmentMappingInfo Class