קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
blockly > serialization > workspaceComments > WorkspaceCommentSerializer > ניקוי
מבטל את כל התגובות הקיימות בסביבת העבודה הנתונה.
Signature:
clear(workspace: Workspace): void;
פרמטרים
החזרות:
ריק
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[],["The `clear()` method, part of the `WorkspaceCommentSerializer` class, removes all existing comments from a specified workspace. It accepts a `Workspace` object as input and returns `void`, indicating no return value. Its core function is to dispose of any comments present within the given workspace, effectively clearing them.\n"]]