Freigeben über


FootnotesPart.AddVideoReferenceRelationship-Methode (MediaDataPart)

Adds a new VideoReferenceRelationship to the specified MediaDataPart.

Namespace:  DocumentFormat.OpenXml.Packaging
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Function AddVideoReferenceRelationship ( _
    mediaDataPart As MediaDataPart _
) As VideoReferenceRelationship
'Usage
Dim instance As FootnotesPart
Dim mediaDataPart As MediaDataPart
Dim returnValue As VideoReferenceRelationship

returnValue = instance.AddVideoReferenceRelationship(mediaDataPart)
public VideoReferenceRelationship AddVideoReferenceRelationship(
    MediaDataPart mediaDataPart
)

Parameter

Rückgabewert

Typ: DocumentFormat.OpenXml.Packaging.VideoReferenceRelationship
The new VideoReferenceRelationship.

Ausnahmen

Ausnahme Bedingung
ArgumentNullException

Thrown when mediaDataPart is null reference.

InvalidOperationException

Thrown when the specified mediaDataPart is not in this document.

Siehe auch

Referenz

FootnotesPart Klasse

FootnotesPart-Member

AddVideoReferenceRelationship Überladung

DocumentFormat.OpenXml.Packaging-Namespace