Bearbeiten

Freigeben über


TextEncoderSettings Constructors

Definition

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 allowedRanges are allowed by the filter.

TextEncoderSettings()

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

TextEncoderSettings(TextEncoderSettings)

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

TextEncoderSettings(UnicodeRange[])

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