Click or drag to resize

MultilanguageStringExtensionsGetLanguageStringOrDefault Method

Returns the string for the specified language. If the MultilanguageString instance is null or the language string is not found, a null is returned.

Namespace:  Aloe.EnterpriseOne.Model
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public static string GetLanguageStringOrDefault(
	this MultilanguageString from,
	string languageKey
)

Parameters

from
Type: Aloe.EnterpriseOne.ModelMultilanguageString
The MultilanguageString instance to query.
languageKey
Type: SystemString
The language key to query.

Return Value

Type: String
The language string for the specified language or null if not found or the MultilanguageString instance is null.

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