Indicates how to compare strings when calling comparison functions.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
Performs a binary comparison. This member is equivalent to the Visual Basic constant vbBinaryCompare.
Performs a textual comparison. This member is equivalent to the Visual Basic constant vbTextCompare.
When you call comparison functions, you can use the CompareMethod enumeration in your code in place of the actual values. The Compare argument takes the CompareMethod enumeration members.
For details on binary and text comparisons, see Option Compare Statement.
Available since 1.1
Available since 2.0