System.Win.Registry.TRegistryIniFile.ReadBinaryStream
Delphi
function ReadBinaryStream(const Section, Name: string; Value: TStream): Integer; override;
C++
virtual int __fastcall ReadBinaryStream(const System::UnicodeString Section, const System::UnicodeString Name, System::Classes::TStream* Value);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Win.Registry.pas System.Win.Registry.hpp |
System.Win.Registry | TRegistryIniFile |
説明
レジストリからバイナリ値を取得します。
ReadBinaryStream メソッドを呼び出すと,指定したストリームにバイナリ値を読み出すことができます。INI ファイルのバイナリ値をストリームの現在の位置に読み出した後,ReadBinaryStream はストリームに書き込まれたバイト数を返します。バイナリ値が新しくなった直後は,ストリームの位置はそのままです。
Section は,バイナリデータが格納されているセクションのキーです。
Name は,バイナリデータが格納されているサブキーです。
Value は,バイナリ値が書き込まれるストリームです。