[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Get the data from this field
Source position: line 0
public function TField.GetData( |
Buffer: Pointer |
):Boolean; overload; |
Buffer: Pointer; |
NativeFormat: Boolean |
):Boolean; overload; |
Buffer |
|
Buffer to store field contents in. |
True if data is available.
Buffer |
|
Buffer to store field contents in. |
NativeFormat |
|
Return date/time values in native (TDateTime) format. |
True if data is available.
GetData is used internally by TField to fetch the value of the data of this field into the data buffer pointed to by Buffer. If it returns False if the field has no value (i.e. is Null). If the NativeFormat parameter is true, then date/time formats should use the TDateTime format. It should not be necessary to use this method, instead use the various 'AsXXX' methods to access the data.
No validity checks are performed on Buffer: it should point to a valid memory area, and should be large enough to contain the value of the field. Failure to provide a buffer that matches these criteria will result in an exception.
|
Is the field empty |
|
|
Save the field data |
|
|
Value of the field as a variant value |
lazarus-ccr.sourceforge.net |