Share via


ReferenceRelationship Constructors

Definition

Overloads

ReferenceRelationship(PackageRelationship)

Initializes a new instance of the ReferenceRelationship.

ReferenceRelationship(Uri, Boolean, String, String)

Initializes a new instance of the ReferenceRelationship.

ReferenceRelationship(PackageRelationship)

Initializes a new instance of the ReferenceRelationship.

protected internal ReferenceRelationship (System.IO.Packaging.PackageRelationship packageRelationship);
new DocumentFormat.OpenXml.Packaging.ReferenceRelationship : System.IO.Packaging.PackageRelationship -> DocumentFormat.OpenXml.Packaging.ReferenceRelationship
Protected Friend Sub New (packageRelationship As PackageRelationship)

Parameters

packageRelationship
PackageRelationship

The source PackageRelationship.

Applies to

ReferenceRelationship(Uri, Boolean, String, String)

Initializes a new instance of the ReferenceRelationship.

protected internal ReferenceRelationship (Uri targetUri, bool isExternal, string relationshipType, string id);
new DocumentFormat.OpenXml.Packaging.ReferenceRelationship : Uri * bool * string * string -> DocumentFormat.OpenXml.Packaging.ReferenceRelationship
Protected Friend Sub New (targetUri As Uri, isExternal As Boolean, relationshipType As String, id As String)

Parameters

targetUri
Uri

The target uri of the relationship.

isExternal
Boolean

A value that indicates whether the target of the relationship is Internal or External to the Package.

relationshipType
String

The relationship type of the relationship.

id
String

The relationship ID.

Applies to