Console.OutputEncoding プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > Console.OutputEncoding プロパティの意味・解説 

Console.OutputEncoding プロパティ

メモ : このプロパティは、.NET Framework version 2.0 で新しく追加されたものです。

コンソールが出力内容の書き込み時に使用するエンコーディングを取得または設定します。

名前空間: System
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Public Shared Property OutputEncoding
 As Encoding
Dim value As Encoding

value = Console.OutputEncoding

Console.OutputEncoding = value
public static Encoding OutputEncoding { get;
 set; }
/** @property */
public static Encoding get_OutputEncoding ()

/** @property */
public static void set_OutputEncoding
 (Encoding value)

プロパティ値
コンソールが出力内容の書き込みに使用するエンコーディング。

例外例外
例外の種類条件

ArgumentNullException

設定操作のプロパティ値が null 参照 (Visual Basic では Nothing) です。

PlatformNotSupportedException

Windows 98、Windows 98 Second Edition、および Windows Millennium Edition では、このプロパティの設定操作はサポートされません。

IOException

この操作の実行中にエラーが発生しました。

SecurityException

アプリケーションに、この操作を実行するためのアクセス許可がありません。

解説解説
.NET Framework のセキュリティ.NET Framework のセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


このページでは「.NET Framework クラス ライブラリ リファレンス」からConsole.OutputEncoding プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からConsole.OutputEncoding プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からConsole.OutputEncoding プロパティ を検索

英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

「Console.OutputEncoding プロパティ」の関連用語

Console.OutputEncoding プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



Console.OutputEncoding プロパティのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS