Skip to main content

SchedulerStorage.SetObjectValue(PersistentObject, String, Object) Method

Assigns the specified value to a field in the data row that contains information about the specified persistent object.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v14.2.dll

#Declaration

public void SetObjectValue(
    PersistentObject obj,
    string columnName,
    object val
)

#Parameters

Name Type Description
obj PersistentObject

A DevExpress.XtraScheduler.PersistentObject class descendant which specifies the persistent object (appointment or resource).

columnName String

A String value which specifies the name of the required data field.

val Object

A Object which specifies the required data field's value.

#Remarks

If a storage object is bound to a data source, the information about persistent objects (appointments or resources) is taken from the data source's data rows. Use the SetObjectValue method to assign a specific value to a field value from the data row that corresponds to the specified persistent object.

See Also