Unit 'DB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TParam.GetDataSize

Return the size of the data.

Declaration

Source position: db.pas line 1458

public function TParam.GetDataSize: Integer;

Function result

Size (in bytes) for the current value.

Description

GetDataSize returns the size (in bytes) needed to store the current value of the parameter.

Errors

For an unsupported data type, an EDatabaseError exception is raised when this function is called.

See also

TParam.GetData

  

Get the parameter value from a memory buffer.

TParam.SetData

  

Set the parameter value from a buffer.


Documentation generated on: Dec 22 2024