Operators::LikeObject Method (Object^, Object^, CompareMethod)
.NET Framework (current version)
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 Object^ LikeObject( Object^ Source, Object^ Pattern, CompareMethod CompareOption )
Parameters
- Source
-
Type:
System::Object^
Required. Any expression.
- Pattern
-
Type:
System::Object^
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::Object^True if the string representation of the value in Source satisfies the pattern that is contained in Pattern; otherwise, False. True if both Source and Pattern are Nothing.
This class supports the Visual Basic compiler and is not intended to be used directly from your code.
.NET Framework
Available since 2.0
Available since 2.0
Show: