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
Syntaxpublic static bool Contains(
this MultilanguageString str,
string value
)
<ExtensionAttribute>
Public Shared Function Contains (
str As MultilanguageString,
value As String
) As Boolean
public:
[ExtensionAttribute]
static bool Contains(
MultilanguageString^ str,
String^ value
)
[<ExtensionAttribute>]
static member Contains :
str : MultilanguageString *
value : string -> bool
Parameters
- str
- Type: Aloe.EnterpriseOne.ModelMultilanguageString
The string to check. - value
- Type: SystemString
The string to seek.
Return Value
Type:
BooleanUsage 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