Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
blockly > Vorgehensweise > ObservableProcedureMap > hinzufügen
Methode Procedures.ObservableProcedureMap.add()
Fügt das angegebene ProcedureModel der Map der Prozedurmodelle hinzu, sodass Blöcke es finden können.
Unterschrift:
add(proc: IProcedureModel): this;
Parameter
Gibt zurück:
diese/dieses/dieser
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-25 (UTC).
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[[["The `add` method incorporates a provided ProcedureModel into the map, enabling block accessibility."],["It accepts an `IProcedureModel` as input, representing the procedure to be added."],["Upon successful addition, it returns the `ObservableProcedureMap` instance itself."]]],["The `add` method within `ObservableProcedureMap` adds a `ProcedureModel` to a map. This action enables blocks to locate the added procedure. The method takes one parameter, `proc`, which is of type `IProcedureModel`. Upon successful addition, the method returns the `ObservableProcedureMap` instance itself (`this`). This method's core function is to register a procedure within a collection, facilitating its discovery by other components.\n"]]