Dela via


IWebViewControl.BuildLocalStreamUri(String, String) Method

Definition

Creates a URI that you can pass to NavigateToLocalStreamUri

public:
 Uri ^ BuildLocalStreamUri(Platform::String ^ contentIdentifier, Platform::String ^ relativePath);
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.

Applies to