Encoding.UTF32 Property
Gets an encoding for the UTF-32 format using the little endian byte order.
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System.Text.EncodingAn encoding object for the UTF-32 format using the little endian byte order.
The UTF32Encoding object that is returned by this property may not have the appropriate behavior for your app. It uses replacement fallback to replace each string that it cannot encode and each byte that it cannot decode with the Unicode REPLACEMENT CHARACTER (U+FFFE). Instead, you can call the UTF32Encoding.UTF32Encoding(Boolean, Boolean, Boolean) constructor to instantiate a UTF32Encoding object whose fallback is either an EncoderFallbackException or a DecoderFallbackException, as the following example illustrates.
For a discussion of little endian byte order, see the Encoding class topic.
For information about the encodings supported by the .NET Framework and a discussion of which Unicode encoding to use, see Character Encoding in the .NET Framework.
Available since 10
.NET Framework
Available since 2.0