Επεξεργασία

Κοινή χρήση μέσω


CompareMethod Enum

Definition

Indicates how to compare strings when calling comparison functions.

public enum class CompareMethod
public enum CompareMethod
type CompareMethod = 
Public Enum CompareMethod
Inheritance
CompareMethod

Fields

Name Value Description
Binary 0

Performs a binary comparison. This member is equivalent to the Visual Basic constant vbBinaryCompare.

Text 1

Performs a textual comparison. This member is equivalent to the Visual Basic constant vbTextCompare.

Remarks

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.

Applies to

See also