Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
blockly > Procedury > IProcedureModel > insertParameter
Metoda Procedures.IProcedureModel.insertParameter()
Wstawia parametr na liście parametrów.
Aby przenieść parametr, najpierw usuń go i wstaw ponownie.
Podpis:
insertParameter(parameterModel: IParameterModel, index: number): this;
Parametry
Zwroty:
to
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],["The `insertParameter` method, part of the `Procedures.IProcedureModel`, adds a parameter to a list of parameters. It takes two inputs: `parameterModel` of type `IParameterModel`, and `index` (a number), specifying the insertion point. To move a parameter, one must first delete it and then use this function to re-insert it at the intended `index`. This method returns the instance of the object it was called on.\n"]]