Skip to main content

SchedulerStorage.GetObjectValue(PersistentObject, String) Method

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

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v14.2.dll

#Declaration

public object GetObjectValue(
    PersistentObject obj,
    string columnName
)

#Parameters

Name Type Description
obj PersistentObject

A DevExpress.XtraScheduler.PersistentObject descendant instance which specifies the persistent object (an appointment or resource).

columnName String

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

#Returns

Type Description
Object

A Object which specifies the value of the required data field.

#Remarks

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