Share via


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
Public methodStatic member TryGetCulture(Int32, 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.
Public methodStatic member TryGetCulture(String, 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.

Top

See also

Reference

Culture class

Culture members

Microsoft.Exchange.Data.Globalization namespace