Datasnap.Provider.TCustomProvider.Data

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

property Data: OleVariant read GetData;

C++

__property System::OleVariant Data = {read=GetData};

Description

Denotes a data packet created by the provider.

Data is a read-only property that provides access to a data packet containing all records. Reading Data calls GetRecords with a parameter of -1.

As implemented in TCustomProvider, GetRecords returns NULL. Descendants of TCustomProvider reimplement the GetRecords method to implement the Data property.

See Also