NavigationManager.ToBaseRelativePath(String) 方法

定义

给定基 URI (例如,) 先前返回 BaseUri 的 URI,将绝对 URI 转换为相对于基 URI 前缀的 URI。

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

参数

uri
String

基 URI 空间内的绝对 URI。

返回

相对 URI 路径。

适用于