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

Public Enumeration HtmlTextWriterAttribute


通常、この列挙体は HtmlTextWriter クラスの AddAttribute、GetAttributeName、IsAttributeDefined、および RenderBeginTag の各メソッドで使用されます。

AddAttribute メソッドの HtmlTextWriterAttribute 列挙体を使用して Onclick 属性を HTML 要素に追加し、その値を ECMAScript コードに設定する例を次に示します。

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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


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