WebUIView.BuildLocalStreamUri(String, String) 方法

定义

创建可以传递给 NavigateToLocalStreamUri 的 URI

public:
 virtual Uri ^ BuildLocalStreamUri(Platform::String ^ contentIdentifier, Platform::String ^ relativePath) = BuildLocalStreamUri;
Uri BuildLocalStreamUri(winrt::hstring const& contentIdentifier, winrt::hstring const& relativePath);
public System.Uri BuildLocalStreamUri(string contentIdentifier, string relativePath);
function buildLocalStreamUri(contentIdentifier, relativePath)
Public Function BuildLocalStreamUri (contentIdentifier As String, relativePath As String) As Uri

参数

contentIdentifier
String

Platform::String

winrt::hstring

URI 引用的内容的唯一标识符。 这将定义 URI 的根。

relativePath
String

Platform::String

winrt::hstring

相对于根资源的路径。

返回

实现

M:Windows.Web.UI.IWebViewControl.BuildLocalStreamUri(System.String,System.String) M:Windows.Web.UI.IWebViewControl.BuildLocalStreamUri(Platform::String,Platform::String) M:Windows.Web.UI.IWebViewControl.BuildLocalStreamUri(winrt::hstring,winrt::hstring)

适用于