The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
This topic has not yet been rated - Rate this topic

Uri.MakeRelative Method

Determines the difference between two Uri instances.

[Visual Basic]
Public Function MakeRelative( _
   ByVal toUri As Uri _
) As String
public string MakeRelative(
 Uri toUri
public: String* MakeRelative(
 Uri* toUri
public function MakeRelative(
   toUri : Uri
) : String;


The URI to compare to the current URI.

Return Value

If the two URIs are the same except for the path information, then that difference; if the two have additional differences, the URI of toUri.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

Uri Class | Uri Members | System Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.