blockly > Procedures > ObservableProcedureMap > delete
روش () Procedures.ObservableProcedureMap.delete
ProcedureModel را با شناسه داده شده از روی نقشه (در صورت وجود) حذف می کند.
امضا:
delete(id: string): boolean;
پارامترها
پارامتر | تایپ کنید | توضیحات |
---|
شناسه | رشته | |
برمی گرداند:
بولی
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-01-06 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-01-06 بهوقت ساعت هماهنگ جهانی."],[[["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"]]