Converting the Dictionary Object's CompareMode Property

Definition: Determines the case-sensitivity of key values.

CompareMode

As far as we can figure out, there is no equivalent to this property in the .NET Framework hash table. All key entries are case-insensitive, i.e., if the key apple exists you cannot add another key Apple.

See conversions of other Dictionary object methods and properties. Return to the VBScript to Windows PowerShell home page