共用方式為


DataPartReferenceRelationship(DataPart, String, String) Constructor

Definition

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

protected internal DataPartReferenceRelationship (DocumentFormat.OpenXml.Packaging.DataPart dataPart, string relationshipType, string id);
new DocumentFormat.OpenXml.Packaging.DataPartReferenceRelationship : DocumentFormat.OpenXml.Packaging.DataPart * string * string -> DocumentFormat.OpenXml.Packaging.DataPartReferenceRelationship
Protected Friend Sub New (dataPart As DataPart, relationshipType As String, id As String)

Parameters

dataPart
DataPart

The target DataPart of the reference relationship.

relationshipType
String

The relationship type of the reference relationship.

id
String

The relationship ID.

Applies to