Compare

<< Click to Display Table of Contents >>

Navigation:  EasyDotNet documentation > Classes > TSystemUri class > Methods >

Compare

Previous pageReturn to chapter overviewNext page

Compares the specified parts of two URIs using the specified comparison rules.

 

comparand - The Uri instance to compare with the current instance.

partsToCompare - A bitwise combination of the UriComponents values that specifies the parts of uri1 and uri2 to compare.

compareFormat - One of the UriFormat values that specifies the character escaping used when the URI components are compared.

comparisonType - One of the StringComparison values.

 

Returns:

An Int32 value that indicates the lexical relationship between the compared Uri components.

Less than zero - current instance is less than comparand.

Zero - current instance equals comparand.

Greater than zero - current instance is greater than comparand.

 

Compare                         PROCEDURE(TSystemUri comparand, UriComponentsEnum partsToCompare, UriFormatEnum compareFormat, StringComparisonEnum comparisonType), LONG