Export (0) Print
Expand All

LikeOperator.LikeObject Method

Performs binary or text string comparison given two objects. This helper method is not meant to be called directly from your code.

Namespace:  Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public static Object LikeObject(
	Object Source,
	Object Pattern,
	CompareMethod CompareOption
)

Parameters

Source
Type: System.Object
The string to compare.
Pattern
Type: System.Object
The string against which Source is being compared.
CompareOption
Type: Microsoft.VisualBasic.CompareMethod
A CompareMethod enumeration specifying whether or not to use text comparison. If Text, this method uses text comparison; if Binary, this method uses binary comparison.

Return Value

Type: System.Object
A Boolean value indicating whether the strings match. Returns True if the strings match; otherwise False.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft