Summary
Determines the culture associated with a given resource file by
scanning the filename for valid culture names.
Syntax
public static CultureInfo GetResourceCulture(string resourceFile, string dependentFile)
Parameters
Name |
Type |
Description |
resourceFile |
string |
The resource file path to check for culture info. |
dependentFile |
string |
The file on which the resource file depends. |
Return Value
Type |
Description |
CultureInfo |
A valid System.Globalization.CultureInfo instance if the resource is
associated with a specific culture; otherwise, null .
|