Compartir a través de


Charset.TryGetEncoding Method

Include Protected Members
Include Inherited Members

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
Public method 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.
Public methodStatic member 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.
Public methodStatic member TryGetEncoding(String, Encoding) The TryGetEncoding method attempts to get a Encoding object for the character set specified by the name parameter.

Top