TextEncoderSettings Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
TextEncoderSettings() |
Instantiates an empty filter (allows no code points through by default). |
TextEncoderSettings(TextEncoderSettings) |
Instantiates a filter by cloning the allowed list of another TextEncoderSettings object. |
TextEncoderSettings(UnicodeRange[]) |
Instantiates a filter where only the character ranges specified by |
- Source:
- TextEncoderSettings.cs
- Source:
- TextEncoderSettings.cs
- Source:
- TextEncoderSettings.cs
- Source:
- TextEncoderSettings.cs
Instantiates an empty filter (allows no code points through by default).
public:
TextEncoderSettings();
public TextEncoderSettings();
Public Sub New ()
Applies to
.NET 10 และรุ่นอื่นๆ
ผลิตภัณฑ์ | เวอร์ชัน |
---|---|
.NET | Core 1.0, Core 1.1, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10 |
.NET Standard | 2.0 (package-provided) |
- Source:
- TextEncoderSettings.cs
- Source:
- TextEncoderSettings.cs
- Source:
- TextEncoderSettings.cs
- Source:
- TextEncoderSettings.cs
Instantiates a filter by cloning the allowed list of another TextEncoderSettings object.
public:
TextEncoderSettings(System::Text::Encodings::Web::TextEncoderSettings ^ other);
public TextEncoderSettings(System.Text.Encodings.Web.TextEncoderSettings other);
new System.Text.Encodings.Web.TextEncoderSettings : System.Text.Encodings.Web.TextEncoderSettings -> System.Text.Encodings.Web.TextEncoderSettings
Public Sub New (other As TextEncoderSettings)
Parameters
- other
- TextEncoderSettings
The other TextEncoderSettings object to be cloned.
Applies to
.NET 10 และรุ่นอื่นๆ
ผลิตภัณฑ์ | เวอร์ชัน |
---|---|
.NET | Core 1.0, Core 1.1, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10 |
.NET Standard | 2.0 (package-provided) |
- Source:
- TextEncoderSettings.cs
- Source:
- TextEncoderSettings.cs
- Source:
- TextEncoderSettings.cs
- Source:
- TextEncoderSettings.cs
Instantiates a filter where only the character ranges specified by allowedRanges
are allowed by the filter.
public:
TextEncoderSettings(... cli::array <System::Text::Unicode::UnicodeRange ^> ^ allowedRanges);
public TextEncoderSettings(params System.Text.Unicode.UnicodeRange[] allowedRanges);
new System.Text.Encodings.Web.TextEncoderSettings : System.Text.Unicode.UnicodeRange[] -> System.Text.Encodings.Web.TextEncoderSettings
Public Sub New (ParamArray allowedRanges As UnicodeRange())
Parameters
- allowedRanges
- UnicodeRange[]
The allowed character ranges.
Exceptions
allowedRanges
is null
.
Applies to
.NET 10 และรุ่นอื่นๆ
ผลิตภัณฑ์ | เวอร์ชัน |
---|---|
.NET | Core 1.0, Core 1.1, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10 |
.NET Standard | 2.0 (package-provided) |
คำติชม .NET
.NET เป็นโครงการโอเพนซอร์ส เลือกลิงก์เพื่อให้คำติชม: