Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
blockly > Serialisierung > Vorgehensweise > ProcedureSerializer > laden
Methode serialization.procedures.ProcedureSerializer.load()
Deserialisiert die Prozedurmodelle, die durch den angegebenen Status definiert wurden, in den Arbeitsbereich.
Unterschrift:
load(state: State[], workspace: Workspace): void;
Parameter
Parameter |
Typ |
Beschreibung |
Bundesstaat |
Bundesland[] |
|
Arbeitsbereich |
Workspace |
|
Gibt zurück:
voidm
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-25 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[[["The `serialization.procedures.ProcedureSerializer.load()` method deserializes procedure models, effectively recreating them within a Blockly workspace."],["This method takes an array of procedure state representations (`State[]`) and the target `Workspace` as input to reconstruct the procedures."],["Upon completion, the `load()` method returns `void`, indicating it modifies the workspace directly without providing any explicit output."]]],["The `ProcedureSerializer.load()` method deserializes procedure models into a workspace. It takes an array of `State` objects and a `Workspace` object as input. The method then processes the `State` data to reconstruct and load the defined procedures directly into the specified `Workspace`. This operation results in updating the workspace with the loaded procedure definitions, with no return value.\n"]]