Table of Contents

Constructor PackageRelationship

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

PackageRelationship(string, string, string, string, bool)

Initializes a relationship table entry.

public PackageRelationship(string sourcePartUri, string id, string relationshipType, string targetUri, bool isExternal)

Parameters

sourcePartUri string

The part that owns the relationship, or "/" for the package root.

id string

The relationship id, for example "rId5".

relationshipType string

The relationship type URI.

targetUri string

The absolute part URI for an internal target, or the raw target for an external one.

isExternal bool

Whether the target is external (TargetMode="External").

Exceptions

ArgumentNullException

A required argument is null.