WebViewControl.BuildLocalStreamUri(String, String) Method

Definition

Creates a URI that you can pass to NavigateToLocalStreamUri

For more info, see Windows.Web.UI.IWebViewControl

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

Parameters

contentIdentifier
String

Platform::String

winrt::hstring

A unique identifier for the content the URI is referencing. This defines the root of the URI.

relativePath
String

Platform::String

winrt::hstring

The path to the resource, relative to the root.

Returns

The URI created by combining and normalizing the contentIdentifier and relativePath.

Implements

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)

Applies to