Click or drag to resize

MultilanguageStringExtensionsContains Method

Returns a value indicating whether a specified substring occurs within this MultilanguageString.

Namespace:  Aloe.EnterpriseOne.Model
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public static bool Contains(
	this MultilanguageString str,
	string value
)

Parameters

str
Type: Aloe.EnterpriseOne.ModelMultilanguageString
The string to check.
value
Type: SystemString
The string to seek.

Return Value

Type: Boolean

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).
Remarks

This method searches for the value within all language pairs of the MultilanguageString. Each language string is searched for the value. The method returns true if the value is found in any of the language strings; false - otherwise.

See Also