ContentFile.Language Property
Definition
- Namespace
- Sandcastle.Core.ConceptualContent
- Assembly
- Sandcastle.Core.dll
This read-only property returns the language of the content file
public CultureInfo Language { get; }
Property Value
- CultureInfo
The language is determined by looking at the suffix on the filename (Filename_LangSuffix.xxx) or the filename itself without the extension. If the suffix or filename is a valid language code, this returns it. If not valid, null is returned and the file is assumed to be language neutral.