HtmlTextWriterTag 列挙体
アセンブリ: System.Web (system.web.dll 内)

Public Enumeration HtmlTextWriterTag



HtmlTextWriterTag 列挙体を使用する例を次に示します。writer という名前の HtmlTextWriter のレンダリング時に、Img フィールドが使用されています。
' Control the encoding of attributes. ' Simple known values do not need encoding. writer.AddAttribute(HtmlTextWriterAttribute.Alt, "Encoding, ""Required""", True) writer.AddAttribute("myattribute", "No "encoding " required", False) writer.RenderBeginTag(HtmlTextWriterTag.Img) writer.RenderEndTag() writer.WriteLine()
// Control the encoding of attributes. // Simple known values do not need encoding. writer.AddAttribute(HtmlTextWriterAttribute.Alt, "Encoding, \"Required\"", true); writer.AddAttribute("myattribute", "No "encoding " required", false); writer.RenderBeginTag(HtmlTextWriterTag.Img); writer.RenderEndTag(); writer.WriteLine();
// Control the encoding of attributes. // Simple known values do not need encoding. writer->AddAttribute( HtmlTextWriterAttribute::Alt, "Encoding, \"Required\"", true ); writer->AddAttribute( "myattribute", "No "encoding " required", false ); writer->RenderBeginTag( HtmlTextWriterTag::Img ); writer->RenderEndTag(); writer->WriteLine();
// Control the encoding of attributes. // Simple known values do not need encoding. writer.AddAttribute(HtmlTextWriterAttribute.Alt, "Encoding, \"Required\"", true); writer.AddAttribute("myattribute", "No "encoding " required", false); writer.RenderBeginTag(HtmlTextWriterTag.Img); writer.RenderEndTag(); writer.WriteLine();

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からHtmlTextWriterTag 列挙体を検索する場合は、下記のリンクをクリックしてください。

- HtmlTextWriterTag 列挙体のページへのリンク