Notification.Text プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > Notification.Text プロパティの意味・解説 

Notification.Text プロパティ

メッセージ バルーンテキスト取得または設定します

名前空間: Microsoft.WindowsCE.Forms
アセンブリ: Microsoft.WindowsCE.Forms (microsoft.windowsce.forms.dll 内)
構文構文

解説解説
使用例使用例

Text プロパティの値に StringBuilder を使用してHTML 文字列作成するコード例次に示します。このコード例は、Notification クラストピック取り上げているコード例一部分です。

' Create the text for the notification.
' Use a StringBuilder for better performance.
Dim HTMLString As New StringBuilder()

HTMLString.Append("<html><body>")
HTMLString.Append("<font color=""#0000FF""><b>Data
 ready to download</b></font>")
HTMLString.Append("&nbsp;&nbsp;&nbsp;&nbsp;<a
 href=""settings"">Settings</a>")
HTMLString.Append("<br><form method=""GET""
 action=notify>")
HTMLString.Append("<SELECT NAME=""lstbx"">")
HTMLString.Append("<OPTION VALUE=""0"">Start
 now</OPTION><OPTION VALUE=""1"">In
 1 hr</OPTION>")
HTMLString.Append("<OPTION VALUE=""2"">In
 2 hrs</OPTION><OPTION VALUE=""3"">In
 3 hrs</OPTION>")
HTMLString.Append("<OPTION VALUE=""4"">In
 4 hrs</OPTION></SELECT>")
HTMLString.Append("<input type=checkbox name=chkbx>Notify
 completion")
HTMLString.Append("<br><input type='submit'>")
HTMLString.Append("<input type=button name='cmd:2' value='Postpone'>")
HTMLString.Append("</body></html>")

' Set the Text property to the HTML string.
Notification1.Text = HTMLString.ToString()
// Create the text for the notification.
// Use a StringBuilder for better performance.
StringBuilder HTMLString = new StringBuilder();

HTMLString.Append("<html><body>");
HTMLString.Append("<font color=\"#0000FF\"><b>Data ready
 to download</b></font>");
HTMLString.Append("&nbsp;&nbsp;&nbsp;&nbsp;<a href=\"settings\">Settings</a>");
HTMLString.Append("<br><form method=\"GET\" action=notify>");
HTMLString.Append("<SELECT NAME=\"lstbx\">");
HTMLString.Append("<OPTION VALUE=\"0\">Start now</OPTION><OPTION
 VALUE=\"1\">In 1 hr</OPTION>");
HTMLString.Append("<OPTION VALUE=\"2\">In 2 hrs</OPTION><OPTION
 VALUE=\"3\">In 3 hrs</OPTION>");
HTMLString.Append("<OPTION VALUE=\"4\">In 4 hrs</OPTION></SELECT>");
HTMLString.Append("<input type=checkbox name=chkbx>Notify completion");
HTMLString.Append("<br><input type='submit'>");
HTMLString.Append("<input type=button name='cmd:2' value='Postpone'>");
HTMLString.Append("</body></html>");

// Set the Text property to the HTML string.
notification1.Text = HTMLString.ToString();
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


このページでは「.NET Framework クラス ライブラリ リファレンス」からNotification.Text プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からNotification.Text プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からNotification.Text プロパティ を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

Notification.Text プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



Notification.Text プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS