blockly > Procedury > IProcedureModel > deleteParameter
Metoda Procedures.IProcedureModel.deleteParameter()
Usuwa z listy parametr o danym indeksie.
Podpis:
deleteParameter(index: number): this;
Parametry
Parametr |
Typ |
Opis |
indeks |
liczba |
|
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: 2024-09-12 UTC.
[null,null,["Ostatnia aktualizacja: 2024-09-12 UTC."],[[["The `deleteParameter` method removes a parameter from a procedure's parameter list based on its index."],["It takes one argument: `index`, which is a number representing the position of the parameter to be removed."],["The method modifies the procedure model directly and returns the updated model (`this`) for chaining."]]],[]]