共用方式為


DataPartReferenceRelationship Class

Definition

Represents an internal reference relationship to a DataPart element.

public class DataPartReferenceRelationship : DocumentFormat.OpenXml.Packaging.ReferenceRelationship
type DataPartReferenceRelationship = class
    inherit ReferenceRelationship
Public Class DataPartReferenceRelationship
Inherits ReferenceRelationship
Inheritance
DataPartReferenceRelationship
Derived

Constructors

DataPartReferenceRelationship(DataPart, String, String)

Initializes a new instance of the DataPartReferenceRelationship class using the supplied DataPart, relationship type, and relationship ID.

Properties

Container

Gets the owner OpenXmlPartContainer that holds the ReferenceRelationship.

(Inherited from ReferenceRelationship)
DataPart

Gets the referenced target DataPart.

Id

Gets the relationship ID.

(Inherited from ReferenceRelationship)
IsExternal

Gets a value indicating whether the target of the relationship is Internal or External to the OpenXmlPackage.

(Inherited from ReferenceRelationship)
RelationshipType

Gets the relationship type.

(Inherited from ReferenceRelationship)
Uri

Gets the target URI of the relationship.

(Inherited from ReferenceRelationship)

Applies to