Datasnap.DBClient.TClientBlobStream.Truncate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Truncate;

C++

void __fastcall Truncate();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Datasnap.DBClient TClientBlobStream

Description

Discards all data in the BLOB field from the current position on.

Use Truncate to limit the size of the BLOB data. Calling Truncate does the same thing as setting the Size property to the value of the Position property. Calling Truncate when the current position is 0 clears the contents of the BLOB field.

Note: Do not call Truncate when the TBlobStream was created in bmRead mode.

See Also