StringType.StrLikeText(String, String) Method
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 text comparison.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
static bool StrLikeText(System::String ^ Source, System::String ^ Pattern);
public static bool StrLikeText (string? Source, string? Pattern);
public static bool StrLikeText (string Source, string Pattern);
static member StrLikeText : string * string -> bool
Public Shared Function StrLikeText (Source As String, Pattern As String) As Boolean
Public Function StrLikeText (Source As String, Pattern As String) As Boolean
- Source
- String
Required. Any String
expression.
- Pattern
- String
Required. Any String
expression conforming to the pattern-matching conventions described in Like Operator.
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
.
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 comparison based on a case-insensitive text sort order determined by your system's LocaleID
value.
منتج | الإصدارات |
---|---|
.NET | Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
ملاحظات .NET
.NET هو مشروع مصدر مفتوح. حدد رابطًا لتقديم الملاحظات: