IUriToStreamResolver 接口

定义

提供将 URI 转换为内容流的方法,以供 WebView.NavigateToLocalStreamUri 方法使用。

public interface class IUriToStreamResolver
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2964039786, 39659, 19770, 149, 144, 0, 62, 60, 167, 226, 144)]
struct IUriToStreamResolver
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2964039786, 39659, 19770, 149, 144, 0, 62, 60, 167, 226, 144)]
public interface IUriToStreamResolver
Public Interface IUriToStreamResolver
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

方法

UriToStreamAsync(Uri)

将 URI 转换为内容流以供 WebView.NavigateToLocalStreamUri 方法使用。

适用于

另请参阅