Export (0) Print
Expand All

Uri.MakeRelative Method

Determines the difference between two Uri instances.

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

Parameters

toUri
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.

Requirements

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

Show:
© 2015 Microsoft