Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Indicates how to compare strings when calling comparison functions.
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.
Member |
Constant |
Description |
---|---|---|
Binary |
vbBinaryCompare |
Performs a binary comparison. |
Text |
vbTextCompare |
Performs a textual comparison. |
Namespace: Microsoft.VisualBasic
Assembly: Visual Basic Runtime Library (in Microsoft.VisualBasic.dll)
How to: Refer to an Enumeration Member
Intrinsic Constants and Enumerations
Filter Function (Visual Basic)
InStrRev Function (Visual Basic)
Please sign in to use this experience.
Sign in