Partager via


SlidePart.AddVideoReferenceRelationship Méthode

Définition

Surcharges

AddVideoReferenceRelationship(MediaDataPart, String)

Ajoute un Élément VideoReferenceRelationship à SlidePart

AddVideoReferenceRelationship(MediaDataPart)

Ajoute un Élément VideoReferenceRelationship à SlidePart

AddVideoReferenceRelationship(MediaDataPart, String)

Ajoute un Élément VideoReferenceRelationship à SlidePart

public DocumentFormat.OpenXml.Packaging.VideoReferenceRelationship AddVideoReferenceRelationship (DocumentFormat.OpenXml.Packaging.MediaDataPart mediaDataPart, string id);
member this.AddVideoReferenceRelationship : DocumentFormat.OpenXml.Packaging.MediaDataPart * string -> DocumentFormat.OpenXml.Packaging.VideoReferenceRelationship
Public Function AddVideoReferenceRelationship (mediaDataPart As MediaDataPart, id As String) As VideoReferenceRelationship

Paramètres

mediaDataPart
MediaDataPart

Type de composant de VideoReferenceRelationship

id
String

ID de relation

Retours

VideoReferenceRelationshipNouveau .

Exceptions

Levée quand id a la valeur null.

Levée lorsque le spécifié mediaDataPart n’est pas dans ce document.

S’applique à

AddVideoReferenceRelationship(MediaDataPart)

Ajoute un Élément VideoReferenceRelationship à SlidePart

public DocumentFormat.OpenXml.Packaging.VideoReferenceRelationship AddVideoReferenceRelationship (DocumentFormat.OpenXml.Packaging.MediaDataPart mediaDataPart);
member this.AddVideoReferenceRelationship : DocumentFormat.OpenXml.Packaging.MediaDataPart -> DocumentFormat.OpenXml.Packaging.VideoReferenceRelationship
Public Function AddVideoReferenceRelationship (mediaDataPart As MediaDataPart) As VideoReferenceRelationship

Paramètres

mediaDataPart
MediaDataPart

Type de composant de VideoReferenceRelationship

Retours

VideoReferenceRelationshipNouveau .

Exceptions

Levée quand mediaDataPart a la valeur null.

Levée lorsque le spécifié mediaDataPart n’est pas dans ce document.

S’applique à