MOTOBIT.COM - ASP upload, IIS utility CompareMethod Enum, The comparison method to use when comparing dictionary keys., Member of Multi

Member of  Multi Use CompareMethod object | Changes | Purchase | Download

Description

Compare method for Dictionary keys.

Values

BinaryCompare = &H0 Perform a binary comparison. Results in key comparisons based on a sort order derived from the internal binary representations of the characters.
TextCompare = &H1 Perform a textual comparison. String comparisons based on a case-sensitive or case-insensitive text sort order.

Includes

VBS include

'CompareMethod - begin
Public Const BinaryCompare = &H0 'Perform a binary comparison. Results in key comparisons based on a sort order derived from the internal binary representations of the characters.
Public Const TextCompare = &H1 'Perform a textual comparison. String comparisons based on a case-sensitive or case-insensitive text sort order.
'CompareMethod - end

VB4 include

'CompareMethod - begin
Public Const BinaryCompare As Long = &H0 'Perform a binary comparison. Results in key comparisons based on a sort order derived from the internal binary representations of the characters.
Public Const TextCompare As Long = &H1 'Perform a textual comparison. String comparisons based on a case-sensitive or case-insensitive text sort order.
'CompareMethod - end

VB5 include

Public Enum CompareMethod
  BinaryCompare = &H0 'Perform a binary comparison. Results in key comparisons based on a sort order derived from the internal binary representations of the characters.
  TextCompare = &H1 'Perform a textual comparison. String comparisons based on a case-sensitive or case-insensitive text sort order.
End Enum 'CompareMethod

JScript include

//CompareMethod - begin
var BinaryCompare = 0x0; //Perform a binary comparison. Results in key comparisons based on a sort order derived from the internal binary representations of the characters.
var TextCompare = 0x1; //Perform a textual comparison. String comparisons based on a case-sensitive or case-insensitive text sort order.
//CompareMethod - end

IDL include

// CompareMethod
typedef [helpcontext(0x20071), helpstring("Compare method for Dictionary keys.")]
enum CompareMethod{
	[helpcontext(0x20071), helpstring("Perform a binary comparison. Results in key comparisons based on a sort order derived from the internal binary representations of the characters.")]
		BinaryCompare = 0x0,
	[helpcontext(0x20071), helpstring("Perform a textual comparison. String comparisons based on a case-sensitive or case-insensitive text sort order.")]
		TextCompare = 0x1
} CompareMethod;

Used in

Dictionary.CompareMode

Other links for CompareMethod class

Multi Dictionary classes

Dictionary

Multi Dictionary enums

CompareMethod

Multi

Free-threaded (multithreaded) dictionary object. Lets you work with unique/non-unique keys in VBScript and JScript envinronment (share application/session variables in ASP) or any other programming language. You can share dictionary variables between processes or computers, you can save or restore dictionary variables to a disk, work with keys using regular expression and more.

© 1996 - 2009 Antonin Foller, Motobit Software | About, Contacts | e-mail: info@pstruh.cz


Other Motobit links:   IISTracer, real-time IIS monitor   ASP file upload - upload files to ASP. 
ActiveX/VBSScript registry editor  ActiveX NT User account manager  Export MDB/DBF from ASP Active LogFile  Email export  ActiveX/ASP Scripting Dictionary object