FireDAC.Stan.Intf.IFDStanStorage.TestAndReadObjectBegin
Delphi
function TestAndReadObjectBegin(const AObjectName: String; AStyle: TFDStorageObjectStyle): Boolean;
C++
virtual bool __fastcall TestAndReadObjectBegin(const System::UnicodeString AObjectName, TFDStorageObjectStyle AStyle) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FireDAC.Stan.Intf.pas FireDAC.Stan.Intf.hpp |
FireDAC.Stan.Intf | IFDStanStorage |
Description
Combines the TestObject and ReadObjectBegin methods.
TestAndReadObjectBegin returns True
when there is a specified object. Otherwise, TestAndReadObjectBegin returns False
and preserves the current storage position.
The TestAndReadObjectBegin method does not raise an exception, as ReadObjectBegin does, when a storage does not have the object specified in the AObjectName
parameter.