FMX.Platform.IFMXSaveStateService.SetBlock
Delphi
function SetBlock(const ABlockName: string; const ABlockData: TStream): Boolean;
C++
virtual bool __fastcall SetBlock(const System::UnicodeString ABlockName, System::Classes::TStream* const ABlockData) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Platform.pas FMX.Platform.hpp |
FMX.Platform | IFMXSaveStateService |
Description
Returns whether the SaveState has been set with the provided name and stream.
The SetBlock method returns True
if the SaveState has been set with the Name provided with the ABlockName
parameter and the Stream provided with the ABlockData
parameter. This method returns False
otherwise.