共用方式為


IPackageRelationship Interface

Definition

An interface that defines the relationship between a source and a target part. Similar to PackageRelationship but allows full overriding.

public interface IPackageRelationship
type IPackageRelationship = interface
Public Interface IPackageRelationship

Properties

Id

Gets a unique identifier across relationships for the given source.

RelationshipType

Gets the type of the relationship used to uniquely define the role of the relationship.

SourceUri

Gets a reference to the parent PackagePart to which this relationship belongs.

TargetMode

Gets a value indicating the interpretations of the "base" of the target uri.

TargetUri

Gets the uri of the part that this relationship points to.

Applies to