Share via


NavigationManager.ToBaseRelativePath(String) Method

Definition

Given a base URI (e.g., one previously returned by BaseUri), converts an absolute URI into one relative to the base URI prefix.

public:
 System::String ^ ToBaseRelativePath(System::String ^ uri);
public string ToBaseRelativePath (string uri);
member this.ToBaseRelativePath : string -> string
Public Function ToBaseRelativePath (uri As String) As String

Parameters

uri
String

An absolute URI that is within the space of the base URI.

Returns

A relative URI path.

Applies to