Click or drag to resize

MultilanguageStringExtensionsGetCurrentOrTransliterated Method

Gets the current language string or transliterates another language string to the current language.

Namespace:  Aloe.EnterpriseOne.Model
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public static string GetCurrentOrTransliterated(
	this MultilanguageString str,
	string defaultLanguage = "en"
)

Parameters

str
Type: Aloe.EnterpriseOne.ModelMultilanguageString
The string.
defaultLanguage (Optional)
Type: SystemString
The default language to use as preferred source for transliteration.

Return Value

Type: String
Language string, transliterated to the current language.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type MultilanguageString. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also