TextEncoderSettings Constructors
Definition
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.
Overloads
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 |
TextEncoderSettings()
- 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
TextEncoderSettings(TextEncoderSettings)
- 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
TextEncoderSettings(UnicodeRange[])
- 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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin