Survei Riset: Ceritakan pengalaman Anda dengan Blockly
Mulai survei
blockly > Prosedur > IParameterModel > setProcedureModel
Metode Procedures.IParameterModel.setProcedureModel()
Menetapkan model prosedur yang dikaitkan dengan parameter ini.
Tanda Tangan:
setProcedureModel(model: IProcedureModel): this;
Parameter
Hasil:
ini
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 2024-09-12 UTC.
[null,null,["Terakhir diperbarui pada 2024-09-12 UTC."],[[["The `setProcedureModel` method associates a parameter model with a specific procedure model."],["It takes an `IProcedureModel` object as input, representing the procedure to link with."],["The method returns the current `IParameterModel` instance, allowing for method chaining."]]],["The `setProcedureModel()` method, part of the `IParameterModel` interface, associates a parameter with a procedure model. It accepts one parameter, `model`, of type `IProcedureModel`. This method configures the `IProcedureModel` to which the parameter belongs. It returns `this`, enabling method chaining. The core action is to link a parameter to its corresponding procedure.\n"]]