Encoder.Fallback Property
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.
Gets or sets a EncoderFallback object for the current Encoder object.
public:
property System::Text::EncoderFallback ^ Fallback { System::Text::EncoderFallback ^ get(); void set(System::Text::EncoderFallback ^ value); };
public System.Text.EncoderFallback Fallback { get; set; }
public System.Text.EncoderFallback? Fallback { get; set; }
[System.Runtime.InteropServices.ComVisible(false)]
public System.Text.EncoderFallback Fallback { get; set; }
member this.Fallback : System.Text.EncoderFallback with get, set
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.Fallback : System.Text.EncoderFallback with get, set
Public Property Fallback As EncoderFallback
Property Value
A EncoderFallback 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 EncoderFallbackBuffer object contains data that has not been encoded yet.
A fallback occurred (for more information, see Character Encoding in .NET)
-and-
Fallback is set to EncoderExceptionFallback.
Remarks
The EncoderFallback object represents an error handler that is invoked when a character cannot be converted into an encoded byte sequence.
Applies to
See also
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za