共用方式為


BasePackagingPolicy.RelateResourceToCurrentPage(Uri, String) 方法

定義

在衍生類別中覆寫時,加入將目前頁面連至某個內部或外部資源的關聯性。

public:
 abstract void RelateResourceToCurrentPage(Uri ^ targetUri, System::String ^ relationshipName);
public abstract void RelateResourceToCurrentPage (Uri targetUri, string relationshipName);
abstract member RelateResourceToCurrentPage : Uri * string -> unit
Public MustOverride Sub RelateResourceToCurrentPage (targetUri As Uri, relationshipName As String)

參數

targetUri
Uri

資源的統一資源識別項 (URI)。

relationshipName
String

關聯性 (Relationship) 的名稱。

適用於