The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.


Specifies how string comparisons are made.

/optioncompare:[binary | text]


You can specify /optioncompare in one of two forms: /optioncompare:binary to use binary string comparisons, and /optioncompare:text to use text string comparisons.

/optioncompare:binary is the default.

See Also

Visual Basic Compiler Options | /optionexplicit | /optionstrict | Sample Compilation Command Lines

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft