Operators::LikeString Method (String^, String^, CompareMethod)
This API supports the product infrastructure and is not intended to be used directly from your code.
Represents the Visual Basic Like operator.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
public: static bool LikeString( String^ Source, String^ Pattern, CompareMethod CompareOption )
Parameters
- Source
-
Type:
System::String^
Required. Any String expression.
- Pattern
-
Type:
System::String^
Required. Any String expression conforming to the pattern-matching conventions described in Like Operator.
- CompareOption
-
Type:
Microsoft.VisualBasic::CompareMethod
Required. A CompareMethod value that specifies that the operation use either text or binary comparison.
Return Value
Type: System::BooleanTrue if the value in Source satisfies the pattern that is contained in Pattern; otherwise, False. True if both Source and Pattern are empty.
This class supports the Visual Basic compiler and is not intended to be used directly from your code.
Available since 2.0