WebViewControl.BuildLocalStreamUri(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.