Charset.TryGetEncoding method
The TryGetEncoding method overloads try to get a specified Encoding object but do not throw exceptions if the Encoding object cannot be obtained.
Overload list
Name | Description | |
---|---|---|
![]() |
TryGetEncoding(Encoding) | The TryGetEncoding attempts to put the Encoding for the character set that this Charset object represents into the encoding out parameter. TryGetEncoding does not throw an exception if it fails. |
![]() ![]() |
TryGetEncoding(Int32, Encoding) | The TryGetEncoding method attempts to put the Encoding object for the character set specified by the codePage parameter into the encoding out parameter. |
![]() ![]() |
TryGetEncoding(String, Encoding) | The TryGetEncoding method attempts to get a Encoding object for the character set specified by the name parameter. |
Top