Resource.GetValue(SchedulerStorageBase, String) Method
Obtains the value of the specific field in the current resource data record supplied by the specified storage object.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v14.2.Core.dll
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
storage | Scheduler |
A DevExpress. |
column |
String | A Stringspecifying the data field's name. |
#Returns
Type | Description |
---|---|
Object | A Object specifying the field's contents. |
#Remarks
Use the GetValue method to get the value of the arbitrary data field in the record for the current resource.
If a resource storage (whose type is ResourceStorage) is bound to a data source via its DataSource property, information about resources is taken from the data source's data rows. In this case, the GetValue method can be used to obtain a specific field's value from the data row that corresponds to the current resource object. The required data field is specified by its name.
The GetValue method together with the Resource.SetValue and Resource.GetRow methods can be useful when it is necessary to maintain custom information about a resource. The custom information is stored within specific custom fields of the data source's row.