Bản khảo sát nghiên cứu: Cho chúng tôi biết trải nghiệm của bạn khi sử dụng Blockly
Bắt đầu khảo sát
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
chặn > Quy trình > ObservableProcedureMap >
xoá
Phương thức Thủ công.ObservableManualMap.delete()
Xoá ProcessModel có mã đã cho khỏi bản đồ quy trình (nếu có).
Chữ ký:
delete(id: string): boolean;
Tham số
Thông số |
Loại |
Mô tả |
id |
string |
|
Trường hợp trả lại hàng:
boolean
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-08-21 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 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"]]