LinqConnect Documentation
Devart.Data.Linq Namespace / SqlMethods Class / Like Method / Like(String,String) Method
The string to be searched.
The pattern, which may include wildcard characters, to match in matchExpression.

In This Topic
    Like(String,String) 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 _
    ) As Boolean
    public static bool Like( 
       string matchExpression,
       string pattern
    )

    Parameters

    matchExpression
    The string to be searched.
    pattern
    The pattern, which may include wildcard characters, to match in matchExpression.

    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