Equals

<< Click to Display Table of Contents >>

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

Equals

Previous pageReturn to chapter overviewNext page

Compares two Uri instances for equality.

 

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

 

Returns:

true if the two instances represent the same URI; otherwise, false.

 

The Equals method compares the two instances without regard to user information (UserInfo) and fragment (Fragment) parts that they might contain.

 

For example, given the URIs http://www.contoso.com/index.htm#search and http://user:password@www.contoso.com/index.htm, the Equals method would return true.

Equals                         PROCEDURE(TSystemUri comparand), BOOL