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


void SetObjectValue(
    T obj,
    string columnName,
    object val
Sub SetObjectValue(
    obj As T,
    columnName As String,
    val As Object


Name Type Description
obj T

A PersistentObject descendant.

columnName String

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

val Object

A Object which specifies the data field's value.


If a persistent object storage is bound to a data source, information about persistent objects (appointments or resources) is taken 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.

See Also