Click or drag to resize

LanguagesGetByCulture Method

Returns the first language in the language table with a culture matching the parameter.

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
public Language GetByCulture(
	string culture,
	bool onlyEnabled,
	bool fallbackToIsoCode = false
)

Parameters

culture
Type: SystemString
Culture to search
onlyEnabled
Type: SystemBoolean
Only return enabled cultures
fallbackToIsoCode (Optional)
Type: SystemBoolean
If the culture is not matched return the first language where the the iso code matches

Return Value

Type: Language
See Also