Skip to content

TParam.GetDataSize

Return the size of the data.

Declaration

Source position: db.pas line 1462

public 
function TParam.GetDataSize : Integer;

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

Name Description
TParam.GetData Get the parameter value from a memory buffer.
TParam.SetData Set the parameter value from a buffer.