ASP CompareMode Property
The ASP CompareMode Property is used to return and set the data comparison mode which compares the keys in a Dictionary Object. The data comparison mode can have the following value.
- vbBinaryCompare (0): This specifies that binary comparison will be used for the data.
- vbTextCompare (1): This specifies that textual comparison will be used for the data.
- vbDatabaseCompare (2): This specifies that database comparison will be used for the data.
Parameter: This property has a single parameter as mentioned above and described below:
- compare: It is used to specify the comparison mode in the Dictionary Object. It is an optional parameter.
The below example demonstrates the ASP Dictionary.CompareMode Property.
The 'p' key-value was successfully added! An error occurred on the server when processing the URL.