CompareMethod Enumeration
.NET Framework (current version)
Indicates how to compare strings when calling comparison functions.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
| Member name | Description | |
|---|---|---|
| Binary | Performs a binary comparison. This member is equivalent to the Visual Basic constant vbBinaryCompare. | |
| Text | 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.
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Available since 1.1
Silverlight
Available since 2.0
Show: