Vcl.DBActns.TDataSetAction.GetDataSet

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetDataSet(Target: TObject): TDataSet; virtual;

C++

virtual Data::Db::TDataSet* __fastcall GetDataSet(System::TObject* Target);

Properties

Type Visibility Source Unit Parent
function protected
Vcl.DBActns.pas
Vcl.DBActns.hpp
Vcl.DBActns TDataSetAction

Description

Returns the dataset associated with the current target object.

Do not call the GetDataSet method. This method is called automatically by descendant classes to check whether the current target object (specified by the Target parameter) is a data source component that has an associated dataset.

GetDataSet returns the dataset associated with the current target object.

See Also