Share via


Charset.TryGetCharset Method

Include Protected Members
Include Inherited Members

The TryGetCharset method overloads try to get a specified Charset object but do not throw exceptions if the Charset object cannot be obtained.

Overload List

  Name Description
Public methodStatic member TryGetCharset(Int32, Charset) The TryGetCharset method attempts to put a Charset object into the charset out parameter that corresponds to the codePage parameter. TryGetCharset does not throw an exception if it fails.
Public methodStatic member TryGetCharset(String, Charset) The TryGetCharset method attempts to put a Charset object into the charset out parameter that corresponds to the name parameter. TryGetCharset does not throw an exception if it fails.

Top