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

关系的名称。

适用于