با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
blockly > نظرات > WorkspaceComment > setDeletable
تنظیم می کند که نظر قابل حذف باشد یا نه.
امضا:
setDeletable(deletable: boolean): void;
پارامترها
پارامتر | تایپ کنید | توضیحات |
---|
قابل حذف | بولی | |
برمی گرداند:
باطل
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-01-04 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-01-04 بهوقت ساعت هماهنگ جهانی."],[[["The `setDeletable()` method controls whether a WorkspaceComment can be deleted by the user."],["It accepts a single boolean parameter, `deletable`, which determines the deletability of the comment."],["When called, this method updates the WorkspaceComment's deletability property without returning any value."]]],["The `setDeletable()` method in the `WorkspaceComment` class determines if a comment can be deleted. It accepts a single boolean parameter, `deletable`. When `deletable` is true, the comment can be deleted; otherwise, it cannot. The method does not return any value, indicated by a void return type. The method's core function is to control the deletability of a comment object.\n"]]