Culture.TryGetCulture Method
The TryGetCulture method overloads attempt to get a Culture object that corresponds to a specified culture. TryGetCulture does not throw an exception if it fails.
Overload List
Name | Description |
---|---|
Culture.TryGetCulture (Int32, out Culture) |
TryGetCulture attempts to put a Culture object that corresponds to the lcid parameter into the culture out parameter. TryGetCulture does not throw an exception if it fails.
|
Culture.TryGetCulture (String, out Culture) |
TryGetCulture attempts to put a Culture object that corresponds to the name parameter into the culture out parameter. TryGetCulture does not throw an exception if it fails.
|