A newer version of this page is available. Switch to the current version.

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.v19.2.Core.dll

Declaration

void SetObjectValue(
    T obj,
    string columnName,
    object val
)

Parameters

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.

Remarks

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