MakeRelative

<< Click to Display Table of Contents >>

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

MakeRelative

Previous pageReturn to chapter overviewNext page

Determines the difference between two Uri instances.

 

pUri - The URI to compare to the current URI.

 

 

Returns:

If the hostname and scheme of this URI instance and uri are the same, then this method returns a relative Uri that, when appended to the current URI instance, yields uri.

If the hostname or scheme is different, then this method returns a Uri that represents the uri parameter.

 

MakeRelative                   PROCEDURE(TSystemUri pUri), STRING