TextOutputFormatter.SupportedEncodings 屬性

定義

取得這個 TextOutputFormatter 支援的可變動字元編碼集合。 寫入資料時會使用編碼。

C#
public System.Collections.Generic.IList<System.Text.Encoding> SupportedEncodings { get; }

屬性值

適用於

產品 版本
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0