TryGetCulture(string,Culture)
Last updated
Was this helpful?
Last updated
Was this helpful?
Method in Cultures
Gets the Culture represented by the language code inname
.
public static bool TryGetCulture(string name, out Culture culture)
string
name
The name of the to retrieve.
culture
On return, the if one was found, or a default if otherwise.
true
if a Culture was found; false
otherwise.