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 ;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | FMX.Platform.pas FMX.Platform.hpp |
FMX.Platform | IFMXSaveStateService |
Description
Renvoie si SaveState a été configuré avec le nom et le flux fournis.
La méthode SetBlock renvoie True
si SaveState a été défini avec le nom fourni par le paramètre ABlockName
et le flux fourni par le paramètre ABlockData
. Sinon, elle renvoie False
.