HtmlTextWriter.Encoding プロパティ
アセンブリ: System.Web (system.web.dll 内)


Encoding プロパティは、TextWriter 基本オブジェクトから値を取得します。

Encoding プロパティを使用して、カスタム コントロールがページにテキストを出力するときに使用するエンコードの種類を、このコントロールを含むページに出力する方法を次のコード例に示します。
' Get the value of the current markup writer's ' Encoding property, convert it to a string, and ' write it to the HtmlTextWriter stream. writer.Write(("Encoding : " + writer.Encoding.ToString() & "<br>"))
// Get the value of the current markup writer's // Encoding property, convert it to a string, and // write it to the markup stream. writer.Write("Encoding : " + writer.Encoding.ToString() + "<br>");

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に収録されているすべての辞書からHtmlTextWriter.Encoding プロパティを検索する場合は、下記のリンクをクリックしてください。

- HtmlTextWriter.Encoding プロパティのページへのリンク