FireDAC.Comp.Client.TFDCustomSchemaAdapter.SaveToStream
Delphi
procedure SaveToStream(AStream: TStream; AFormat: TFDStorageFormat = sfAuto);
C++
void __fastcall SaveToStream(System::Classes::TStream* AStream, Firedac::Stan::Intf::TFDStorageFormat AFormat = (Firedac::Stan::Intf::TFDStorageFormat)(0x0));
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
procedure function |
public | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDCustomSchemaAdapter |
説明
TFDCustomSchemaAdapter と関連づけられているデータセットの内容を、ストリームへ保存します。
SaveToStream プロシージャを使用すると、TFDCustomSchemaAdapter と関連づけられちえるデータセットの内容を、ストリームへ保存します。
AStream は、データを書き込むストリームへの参照です。
AFormat は、ファイル形式です:
sfXML: XML ファイル。sfBinary: カスタム FireDAC 形式のバイナリ ストリーム。sfAuto: 形式は ResourceOptions.DefaultStoreExt によって決定されます(それが指定されている場合)。そうでなければ、ResourceOptions.DefaultStoreFormat によって決定されます。
SaveToStream は、ResourceOptions.StoreItems で指定される項目を、ストリームへ保存します。