StringType.StrLikeBinary(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares the parameters Source
and Pattern
and returns the same results as the Like
operator, using binary comparison.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
static bool StrLikeBinary(System::String ^ Source, System::String ^ Pattern);
public static bool StrLikeBinary (string? Source, string? Pattern);
public static bool StrLikeBinary (string Source, string Pattern);
static member StrLikeBinary : string * string -> bool
Public Shared Function StrLikeBinary (Source As String, Pattern As String) As Boolean
Public Function StrLikeBinary (Source As String, Pattern As String) As Boolean
Parameters
- Source
- String
Required. Any String
expression.
- Pattern
- String
Required. Any String
expression conforming to the pattern-matching conventions described in Like Operator.
Returns
A Boolean
value indicating whether or not the string satisfies the pattern. If the value in string satisfies the pattern contained in pattern, result is True
. If the string does not satisfy the pattern, result is False
. If both string and pattern are empty strings, the result is True
.
Remarks
This method compares the parameters Source
and Pattern
and returns the same results as the Like Operator. The result is a Boolean value indicating whether or not the string satisfies the pattern.
This method is similar to StrLike except that it always performs a case-sensitive binary comparison.