จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
blockly > เหตุการณ์ > CommentDelete > (เครื่องมือสร้าง)
สร้างอินสแตนซ์ใหม่ของคลาส CommentDelete
ลายเซ็น:
constructor(opt_comment?: WorkspaceComment);
พารามิเตอร์
| พารามิเตอร์ |
ประเภท |
คำอธิบาย |
| opt_comment |
WorkspaceComment |
(ไม่บังคับ) ความคิดเห็นที่ถูกลบ ไม่ได้กำหนดสำหรับเหตุการณ์ว่าง |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[],["The `CommentDelete` class constructor creates a new instance representing the deletion of a comment. It accepts an optional parameter, `opt_comment`, which is a `WorkspaceComment` object. This parameter represents the specific comment that was deleted, and it's undefined if the event is blank. This allows for tracking the deletion of a specific comment or a general comment deletion event.\n"]]