Skip to main content

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

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v23.2.Core.dll

NuGet Package: DevExpress.Scheduler.Core

Declaration

object GetObjectValue(
    T obj,
    string columnName
)

Parameters

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.

Returns

Type Description
Object

A Object which is the data field value.

Remarks

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