แก้ไข

แชร์ผ่าน


Decoder.Fallback Property

Definition

Gets or sets a DecoderFallback object for the current Decoder object.

public:
 property System::Text::DecoderFallback ^ Fallback { System::Text::DecoderFallback ^ get(); void set(System::Text::DecoderFallback ^ value); };
public System.Text.DecoderFallback Fallback { get; set; }
public System.Text.DecoderFallback? Fallback { get; set; }
[System.Runtime.InteropServices.ComVisible(false)]
public System.Text.DecoderFallback Fallback { get; set; }
member this.Fallback : System.Text.DecoderFallback with get, set
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.Fallback : System.Text.DecoderFallback with get, set
Public Property Fallback As DecoderFallback

Property Value

A DecoderFallback object.

Attributes

Exceptions

The value in a set operation is null (Nothing).

A new value cannot be assigned in a set operation because the current DecoderFallbackBuffer object contains data that has not been decoded yet.

Remarks

The DecoderFallback object represents an error handler that is invoked when an encoded byte sequence cannot be converted to a character.

Applies to

See also