Back to Devexpress

TcxCustomDataSource.GetValue(TcxDataRecordHandle,TcxDataItemHandle) Method

vcl-cxcustomdata-dot-tcxcustomdatasource-dot-getvalue-x28-cxcustomdata-dot-tcxdatarecordhandle-cxcustomdata-dot-tcxdataitemhandle-x29.md

latest2.0 KB
Original Source

TcxCustomDataSource.GetValue(TcxDataRecordHandle,TcxDataItemHandle) Method

Returns a value in a specific record/column.

Declaration

delphi
function GetValue(ARecordHandle: TcxDataRecordHandle; AItemHandle: TcxDataItemHandle): Variant; virtual;

Parameters

NameType
ARecordHandleTcxDataRecordHandle
AItemHandleTcxDataItemHandle

Returns

Type
Variant

Remarks

The GetValue function returns a value in a specific record/column. The ARecordHandle parameter identifies the record handle (a unique identifier of a record) in the current data source. The AItemHandle parameter determines the item handle (a value that uniquely identifies the column and thus the field from which to return the text to display). See the TcxCustomDataSource class to obtain detailed information on record and item handles.

Before calling GetValue, the GetRecordHandleByIndex and GetItemHandle methods are invoked. They return the record handle and the item handle respectively to be passed as arguments to the GetValue method.

See Also

TcxCustomDataSource.GetItemHandle

TcxCustomDataSource.GetRecordHandleByIndex

TcxCustomDataSource.SetValue

TcxCustomDataSource Class

TcxCustomDataSource Members

cxCustomData Unit