Cultures.HasCulture(string)

Method in Cultures

Summary

Returns a boolean value indicating whether name is a valid identifier for retrieving a Culture from GetCulture(string) .

public static bool HasCulture(string name)

Parameters

NameDescription
string name

Returns

true if name is a valid Culture name; false otherwise.