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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
 バージョン情報
バージョン情報 参照
参照- HtmlTextWriter.Encoding プロパティのページへのリンク

 
                             
                    


