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

PersistentObjectStorage<T>.GetObjectValue(T, String) Method

Returns the value of the specified field in the data row that contains information about the specified persistent object.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.1.Core.dll


public object GetObjectValue(
    T obj,
    string columnName


Name Type Description
obj T

A PersistentObject descendant for which the content of the source object’s data field is obtained.

columnName String

A String value which specifies the name of the data field in the source object.


Type Description

A Object which is the data field value.


If a persistent object storage is bound to a data source, information about persistent objects (appointments, resources or appointment dependencies) is obtained from the data source’s data rows. In this case, the GetObjectValue method can be used to obtain a specific field’s value from the data row that corresponds to the specified persistent object.

See Also