MediaReferenceRelationship(MediaDataPart, String) Constructor

Definition

Initializes a new instance of the MediaReferenceRelationship class using the supplied MediaDataPart and relationship ID.

protected internal MediaReferenceRelationship (DocumentFormat.OpenXml.Packaging.MediaDataPart mediaDataPart, string id);
new DocumentFormat.OpenXml.Packaging.MediaReferenceRelationship : DocumentFormat.OpenXml.Packaging.MediaDataPart * string -> DocumentFormat.OpenXml.Packaging.MediaReferenceRelationship
Protected Friend Sub New (mediaDataPart As MediaDataPart, id As String)

Parameters

mediaDataPart
MediaDataPart

The target DataPart of the reference relationship.

id
String

The relationship ID.

Applies to