共用方式為


IUriContext 介面

定義

表示可使用應用程式內容將相對 URI 解析為絕對 URI 的服務。

public interface class IUriContext
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(4219864566, 36613, 21230, 160, 28, 58, 158, 17, 138, 110, 162)]
struct IUriContext
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(4219864566, 36613, 21230, 160, 28, 58, 158, 17, 138, 110, 162)]
public interface IUriContext
Public Interface IUriContext
屬性

屬性

BaseUri

取得或設定目前應用程式內容的基底 URI。

適用於