Skip to main content

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.v24.1.Core.dll

NuGet Package: DevExpress.Scheduler.Core

Declaration

void CreateCustomFields(
    T obj
)

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