HtmlTextWriter.SelfClosingTagEnd フィールドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > HtmlTextWriter.SelfClosingTagEnd フィールドの意味・解説 

HtmlTextWriter.SelfClosingTagEnd フィールド

自己終了マークアップ要素終了スラッシュ記号右山かっこ (/>) を表します

名前空間: System.Web.UI
アセンブリ: System.Web (system.web.dll 内)
構文構文

Public Const SelfClosingTagEnd As
 String
Dim value As String

value = HtmlTextWriter.SelfClosingTagEnd
public const string SelfClosingTagEnd
public:
literal String^ SelfClosingTagEnd
public static final String SelfClosingTagEnd
public const var SelfClosingTagEnd
 : String
解説解説
使用例使用例

カスタム FileName プロパティの値を出力し続けて SelfClosingTagEnd フィールドによって表され引用符文字出力する方法次のコード例示します。このコード例では、Write メソッド呼び出しSelfClosingTagEnd フィールドパラメータ引数として渡して要素閉じてます。

このコード例では、FileName プロパティ値を出力してから、次のマークアップ出力します

" />

' Write the name of the image file from the 
' FileName property, close the path, and then
' close the <img> element.
writer.Write(FileName)
writer.Write(HtmlTextWriter.DoubleQuoteChar)
writer.Write(HtmlTextWriter.SelfClosingTagEnd)
// Write the name of the image file from the 
// FileName property, close the path, and then
// close the <img> element.
writer.Write(FileName);
writer.Write(HtmlTextWriter.DoubleQuoteChar);
writer.Write(HtmlTextWriter.SelfClosingTagEnd);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
HtmlTextWriter クラス
HtmlTextWriter メンバ
System.Web.UI 名前空間
TextWriter
RenderBeginTag


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

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

辞書ショートカット

すべての辞書の索引

HtmlTextWriter.SelfClosingTagEnd フィールドのお隣キーワード
検索ランキング

   

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



HtmlTextWriter.SelfClosingTagEnd フィールドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS