다음을 통해 공유


Charset.TryGetCharset Method

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
Charset.TryGetCharset (Int32, out 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.
Charset.TryGetCharset (String, out 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.