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.

In This Topic
    Like(String,String,Char) Method
    In This Topic
    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
    public static bool Like( 
       string matchExpression,
       string pattern,
       char escapeCharacter
    )

    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