Datasnap.DBClient.TClientBlobStream.Truncate
Delphi
procedure Truncate;
C++
void __fastcall Truncate(void);
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.