|
Dieser Artikel wurde maschinell übersetzt. Bewegen Sie den Mauszeiger über die Sätze im Artikel, um den Originaltext anzuzeigen. Weitere Informationen
|
Übersetzung
Original
|
UTF7Encoding-Klasse
Namespace: System.Text
Assembly: mscorlib (in mscorlib.dll)
Der UTF7Encoding-Typ macht die folgenden Member verfügbar.
| Name | Beschreibung | |
|---|---|---|
![]() ![]() | UTF7Encoding() | |
![]() ![]() | UTF7Encoding(Boolean) |
| Name | Beschreibung | |
|---|---|---|
![]() | BodyName | |
![]() ![]() | CodePage | |
![]() | DecoderFallback | |
![]() | EncoderFallback | |
![]() | EncodingName | |
![]() | HeaderName | |
![]() | IsBrowserDisplay | |
![]() | IsBrowserSave | |
![]() | IsMailNewsDisplay | |
![]() | IsMailNewsSave | |
![]() | IsReadOnly | |
![]() | IsSingleByte | |
![]() ![]() | WebName | |
![]() | WindowsCodePage |
| Name | Beschreibung | |
|---|---|---|
![]() ![]() | Clone | |
![]() ![]() | Equals | |
![]() ![]() | Finalize | |
![]() ![]() | GetByteCount(Char[]) | |
![]() ![]() | GetByteCount(String) | In XNA Framework 3.0 wird dieser Member von Encoding geerbt..GetByteCount(String). |
![]() | GetByteCount(Char*, Int32) | |
![]() ![]() | GetByteCount(Char[], Int32, Int32) | |
![]() ![]() | GetBytes(Char[]) | |
![]() ![]() | GetBytes(String) | |
![]() ![]() | GetBytes(Char[], Int32, Int32) | |
![]() | GetBytes(Char*, Int32, Byte*, Int32) | |
![]() ![]() | GetBytes(Char[], Int32, Int32, Byte[], Int32) | |
![]() ![]() | GetBytes(String, Int32, Int32, Byte[], Int32) | In XNA Framework 3.0 wird dieser Member von Encoding geerbt..GetBytes(String, Int32, Int32, Byte[], Int32). |
![]() ![]() | GetCharCount(Byte[]) | |
![]() | GetCharCount(Byte*, Int32) | |
![]() ![]() | GetCharCount(Byte[], Int32, Int32) | |
![]() ![]() | GetChars(Byte[]) | |
![]() ![]() | GetChars(Byte[], Int32, Int32) | |
![]() | GetChars(Byte*, Int32, Char*, Int32) | |
![]() ![]() | GetChars(Byte[], Int32, Int32, Char[], Int32) | |
![]() ![]() | GetDecoder | |
![]() ![]() | GetEncoder | |
![]() ![]() | GetHashCode | |
![]() ![]() | GetMaxByteCount | |
![]() ![]() | GetMaxCharCount | |
![]() ![]() | GetPreamble | |
![]() | GetString(Byte[]) | |
![]() ![]() | GetString(Byte[], Int32, Int32) | In XNA Framework 3.0 wird dieser Member von Encoding geerbt..GetString(Byte[], Int32, Int32). |
![]() ![]() | GetType | |
![]() | IsAlwaysNormalized() | |
![]() | IsAlwaysNormalized(NormalizationForm) | |
![]() ![]() | MemberwiseClone | |
![]() ![]() | ToString |
Hinweis |
|---|
Hinweis |
|---|
using System; using System.Text; class UTF7EncodingExample { public static void Main() { // Create a UTF-7 encoding. UTF7Encoding utf7 = new UTF7Encoding(); // A Unicode string with two characters outside a 7-bit code range. String unicodeString = "This Unicode string contains two characters " + "with codes outside a 7-bit code range, " + "Pi (\u03a0) and Sigma (\u03a3)."; Console.WriteLine("Original string:"); Console.WriteLine(unicodeString); // Encode the string. Byte[] encodedBytes = utf7.GetBytes(unicodeString); Console.WriteLine(); Console.WriteLine("Encoded bytes:"); foreach (Byte b in encodedBytes) { Console.Write("[{0}]", b); } Console.WriteLine(); // Decode bytes back to string. // Notice Pi and Sigma characters are still present. String decodedString = utf7.GetString(encodedBytes); Console.WriteLine(); Console.WriteLine("Decoded bytes:"); Console.WriteLine(decodedString); } }
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core-Rolle wird nicht unterstützt), Windows Server 2008 R2 (Server Core-Rolle wird mit SP1 oder höher unterstützt; Itanium wird nicht unterstützt)
.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen für .NET Framework.
