PersistentObjectStorage<T>.SetObjectValue(T, String, Object) Method
Assigns the specified value to a field in the data row that contains information about the specified persistent object.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.1.Core.Desktop.dll
NuGet Package: DevExpress.Scheduler.CoreDesktop
Declaration
Parameters
Name | Type | Description |
---|---|---|
obj | T | A PersistentObject descendant which is the persistent object (appointment, resource or AppointmentDependency object). |
columnName | String | A String value which specifies the name of the data field. |
val | Object | A Object which specifies the data field’s value. |
Remarks
If a persistent object storage is bound to a data source, information about persistent objects (appointment, resource or AppointmentDependency object) is obtained from the data source’s data rows. In this case, the SetObjectValue method can be used to assign a specific value to a field value from the data row that corresponds to the specified persistent object.