IPersistentObject.GetValue(ISchedulerStorageBase, String) Method
Obtains the value of the data field in the record bound to the current PersistentObject, supplied by the specified storage object.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v19.1.Core.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
storage | ISchedulerStorageBase | A SchedulerStorageBase class instance that stores the data. |
columnName | String | A String, that is the name of the data field. |
Returns
Type | Description |
---|---|
Object | A Object, that is the field contents. |
Remarks
If a persistent object storage is bound to a data source via its PersistentObjectStorage<T>.DataSource property, information about persistent objects (appointments or resources) is obtained from the data source’s data rows. In this case, the GetValue method obtains a value of the field in the data row that corresponds to the current persistent object. The required data field is specified by its name.
The GetValue method together with the IPersistentObject.SetValue and IPersistentObject.GetRow methods can be used to maintain an additional information about a persistent object. In this case, custom information can be stored within specific fields of the data source’s row.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the GetValue(ISchedulerStorageBase, String) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.