Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
blockly > Procedury > ObservableProcedureMap > usuń
Metoda Procedures.ObservableProcedureMap.delete()
Usuwa ProcedureModel o podanym identyfikatorze z mapy procedur (jeśli istnieje).
Podpis:
delete(id: string): boolean;
Parametry
Parametr |
Typ |
Opis |
id |
ciąg znaków |
|
Zwroty:
wartość logiczna
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-08-21 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2024-08-21 UTC."],[[["The `delete` method removes a ProcedureModel from the ObservableProcedureMap based on its unique ID."],["It returns `true` if the ProcedureModel was found and deleted, otherwise `false`."],["This method modifies the ObservableProcedureMap, effectively deleting the specified procedure."]]],["The `delete` method within `ObservableProcedureMap` removes a `ProcedureModel` from the procedure map using its ID. It accepts a string `id` as input, which is the identifier of the procedure to be deleted. The method returns a boolean value, indicating whether a procedure with the specified ID existed and was successfully deleted.\n"]]