Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining


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

© 2015 Microsoft