Method DetectLanguageFromFileName
- Namespace
- Alternet.FormDesigner.Wpf
- Assembly
- Alternet.FormDesigner.Wpf.v10.dll
DetectLanguageFromFileName(string)
Determines a Language to which the given file belongs. Reports an error for unsupported language.
public static Language DetectLanguageFromFileName(string fileName)
Parameters
fileName
stringName of file to examine.
Returns
- Language
Language related to the specified file if supported; otherwise, null.