共用方式為


WebViewControl.NavigateToLocalStreamUri(Uri, IUriToStreamResolver) 方法

定義

使用 IUriToStreamResolver在指定的 URI 載入本機 Web 內容。

如需詳細資訊,請參閱 Windows.Web.UI.IWebViewControl

public:
 virtual void NavigateToLocalStreamUri(Uri ^ source, IUriToStreamResolver ^ streamResolver) = NavigateToLocalStreamUri;
void NavigateToLocalStreamUri(Uri const& source, IUriToStreamResolver const& streamResolver);
public void NavigateToLocalStreamUri(System.Uri source, IUriToStreamResolver streamResolver);
function navigateToLocalStreamUri(source, streamResolver)
Public Sub NavigateToLocalStreamUri (source As Uri, streamResolver As IUriToStreamResolver)

參數

source
Uri Uri

URI,識別要載入的本機 HTML 內容。

streamResolver
IUriToStreamResolver

解析程式,可將 URI 轉換成要載入的資料流程。

實作

M:Windows.Web.UI.IWebViewControl.NavigateToLocalStreamUri(Windows.Foundation.Uri,Windows.Web.IUriToStreamResolver) M:Windows.Web.UI.IWebViewControl.NavigateToLocalStreamUri(System.Uri,Windows.Web.IUriToStreamResolver)

適用於