Skip to main content

AppointmentCustomFieldMapping(String, String) Constructor

Initializes a new instance of the AppointmentCustomFieldMapping class with the specified name of the appointment property and member name (the name of the field in the data source).

Namespace: DevExpress.XtraScheduler

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

Declaration

public AppointmentCustomFieldMapping(
    string name,
    string member
)

Parameters

Name Type Description
name String

A String value that specifies the name of the appointment property. This value is assigned to the CustomFieldMappingBase<T>.Name property.

member String

A String value that specifies the member value of the custom field mapping (the name of the field in the database). This value is assigned to the CustomFieldMappingBase<T>.Member property.

Remarks

To add a new mapping that associates a field in the database named “CustomField1” with the appointment custom field named “MyNote” use the following code:

schedulerStorage1.Appointments.CustomFieldMappings.Add(new AppointmentCustomFieldMapping("MyNote", "CustomField1")); 
See Also