Datasnap.DBClient.TCustomClientDataSet.DataSize

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Unit: Datasnap.DBClient
Parent: TCustomClientDataSet

Delphi

property DataSize: Integer read GetDataSize;

C++

__property int DataSize = {read=GetDataSize, nodefault};

Description

Indicates the number of bytes required to represent the Data property.

Read DataSize to determine the number of bytes required for storing the client dataset's data. For example, before streaming the Data property to a fixed size buffer using the SaveToStream method, read DataSize to determine the necessary size of that buffer.

See Also