LinqConnect Documentation
Devart.Data.Linq Namespace / SqlMethods Class / Like Method / Like(String,String,Char) Method
The string to be searched.
The pattern, which may include wildcard characters, to match in matchExpression.
The character to put in front of a wildcard character to indicate that it should be interpreted as a regular character and not as a wildcard character.

Like(String,String,Char) Method
Determines whether a specific character string matches a specified pattern.
Syntax
'Declaration
 
Public Overloads Shared Function Like( _
   ByVal matchExpression As String, _
   ByVal pattern As String, _
   ByVal escapeCharacter As Char _
) As Boolean
 

Parameters

matchExpression
The string to be searched.
pattern
The pattern, which may include wildcard characters, to match in matchExpression.
escapeCharacter
The character to put in front of a wildcard character to indicate that it should be interpreted as a regular character and not as a wildcard character.

Return Value

True if matchExpression matches the pattern; otherwise, false.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also