Skip to main content

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.v24.1.Core.Desktop.dll

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

public 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, 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