調査アンケート: Blockly のご利用体験についてお聞かせください
アンケートを開始
ブロックする >アイコン >CommentIcon >getText
このコメントのテキストを返します。
署名:
getText(): string;
戻り値:
文字列
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-12 UTC。
[null,null,["最終更新日 2024-09-12 UTC。"],[[["The `icons.CommentIcon.getText()` method retrieves the textual content associated with a specific comment icon."],["This method returns the comment text as a string value."]]],["The `getText()` method, part of the `CommentIcon` class within the `icons` namespace, retrieves the text content of a comment. It does not require any input parameters. The method's signature is `getText(): string;`, indicating it returns a string value. This string represents the textual content associated with the specific comment icon it's called upon.\n"]]