Survei Riset: Ceritakan pengalaman Anda dengan Blockly
Mulai survei
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
blockly > serialisasi > prosedur > ProcedureSerializer > muat
Metode serialization.procedures.ProcedureSerializer.load()
Melakukan deserialisasi model prosedur yang ditentukan oleh status yang ditentukan ke ruang kerja.
Tanda Tangan:
load(state: State[], workspace: Workspace): void;
Parameter
Parameter |
Jenis |
Deskripsi |
dengan status tersembunyi akhir |
Negara Bagian[] |
|
ruang kerja |
Ruang kerja |
|
Hasil:
void
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-25 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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"]]