Method GetString
GetString(string, CultureInfo?)
Looks up a resource value for a particular name. Looks in the specified CultureInfo, and if not found, all parent CultureInfos.
public static string? GetString(string name, CultureInfo? culture = null)
Parameters
name
stringculture
CultureInfo
Returns
- string
Null if the resource was not found in the current culture or the invariant culture.