XpsPackagingPolicy.RelateResourceToCurrentPage(Uri, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a PackageRelationship with a specified name that associates a specified resource with the current page.
public:
override void RelateResourceToCurrentPage(Uri ^ targetUri, System::String ^ relationshipName);
public override void RelateResourceToCurrentPage (Uri targetUri, string relationshipName);
override this.RelateResourceToCurrentPage : Uri * string -> unit
Public Overrides Sub RelateResourceToCurrentPage (targetUri As Uri, relationshipName As String)
Parameters
- targetUri
- Uri
The uniform resource identifier (URI) of the resource to associate with the current page.
- relationshipName
- String
The identifying name of the PackageRelationship that associates the current page with the specified resource.
Applies to
See also
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.