BasePackagingPolicy.RelateResourceToCurrentPage(Uri, String) BasePackagingPolicy.RelateResourceToCurrentPage(Uri, String) BasePackagingPolicy.RelateResourceToCurrentPage(Uri, String) BasePackagingPolicy.RelateResourceToCurrentPage(Uri, String) Method

Definition

When overridden in a derived class, adds a relationship from the current page to some internal or external resource.

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)

Parameters

targetUri
Uri Uri Uri Uri

The uniform resource identifier (URI) of the resource.

relationshipName
String String String String

A name for the relationship.

Remarks

For more information about XML relationship parts in packages, see chapter 1 of the Open Packaging Conventions schema.

Applies to