IPersistentObjectStorage<T>.CreateCustomFields(T) Method

Creates the custom fields specific to this persistent object and adds them to the object's custom fields collection.

Namespace: DevExpress.XtraScheduler

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

Declaration

void CreateCustomFields(
    T obj
)
Sub CreateCustomFields(
    obj As T
)

Parameters

Name Type Description
obj T

A PersistentObject for which to create custom fields.

Remarks

This method works only for custom field mappings added to the storage. To add mappings, use the Mappings Wizards or add the mappings in code with the AppointmentCustomFieldMappingCollection.Add and ResourceCustomFieldMappingCollection.Add methods of appointment and resource collections. The collections are available via the AppointmentStorage.CustomFieldMappings and ResourceStorage.CustomFieldMappings properties respectively.

See Also