HtmlTextWriter.EndTagLeftChars フィールド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
マークアップ要素の終了タグの左山かっことスラッシュ (</) を表します。
public: System::String ^ EndTagLeftChars;
public const string EndTagLeftChars;
val mutable EndTagLeftChars : string
Public Const EndTagLeftChars As String
フィールド値
例
次のコード例は、<table> メソッドの呼び出しでパラメーター値として EndTagLeftChars フィールドと TagRightChar フィールドを使用して、Write マークアップ要素の終了タグをレンダリングする方法を示しています。
このコード例では、次のマークアップをレンダリングします。
</table>
// Write the closing tag of a table element.
writer.Write(HtmlTextWriter.EndTagLeftChars);
writer.Write("table");
writer.Write(HtmlTextWriter.TagRightChar);
writer.WriteLine();
' Write the closing tag of a table element.
writer.Write(HtmlTextWriter.EndTagLeftChars)
writer.Write("table")
writer.Write(HtmlTextWriter.TagRightChar)
writer.WriteLine()
注釈
EndTagLeftChars フィールドは、マークアップ要素の終了タグを構築するために、RenderBeginTag メソッドによって使用されます。