Constructor PackageRelationship
PackageRelationship(string, string, string, string, bool)
Initializes a relationship table entry.
public PackageRelationship(string sourcePartUri, string id, string relationshipType, string targetUri, bool isExternal)
Parameters
sourcePartUristringThe part that owns the relationship, or "/" for the package root.
idstringThe relationship id, for example "rId5".
relationshipTypestringThe relationship type URI.
targetUristringThe absolute part URI for an internal target, or the raw target for an external one.
isExternalboolWhether the target is external (TargetMode="External").
Exceptions
- ArgumentNullException
A required argument is null.