image\cslogo3d1.gif

JScript Dictionary Object CompareMode Property

Sets and returns the comparison mode for comparing string keys in a Dictionary object.

Syntax: JScript Dictionary Object CompareMode Property

object.CompareMode[ = compare]

object

The name of a Dictionary object. Required.

compare

A value representing the comparison mode. Acceptable values are 0 (Binary), 1 (Text), 2 (Database). Values greater than 2 can be used to refer to comparisons using specific Locale IDs (LCID). Optional.

Remarks: JScript Dictionary Object CompareMode Property

An error occurs if you try to change the comparison mode of a Dictionary object that already contains data.

Copyright 2001 Sun Microsystems, Inc. All rights reserved. Legal Notice.