Sdílet prostřednictvím


Culture.TryGetCulture Method

Include Protected Members
Include Inherited Members

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