OpenXmlPartContainer.AddHyperlinkRelationship Méthode

Définition

Surcharges

AddHyperlinkRelationship(Uri, Boolean)

Ajoute une nouvelle relation de lien hypertexte.

AddHyperlinkRelationship(Uri, Boolean, String)

Ajoute une nouvelle relation de lien hypertexte.

AddHyperlinkRelationship(Uri, Boolean)

Ajoute une nouvelle relation de lien hypertexte.

public DocumentFormat.OpenXml.Packaging.HyperlinkRelationship AddHyperlinkRelationship (Uri hyperlinkUri, bool isExternal);
member this.AddHyperlinkRelationship : Uri * bool -> DocumentFormat.OpenXml.Packaging.HyperlinkRelationship
Public Function AddHyperlinkRelationship (hyperlinkUri As Uri, isExternal As Boolean) As HyperlinkRelationship

Paramètres

hyperlinkUri
Uri

URI du lien hypertexte.

isExternal
Boolean

Lien hypertexte externe à .OpenXmlPackage

Retours

HyperlinkRelationship avec l’ID de relation.

Exceptions

Levée lorsque « hyperlinkUri » est une référence null.

S’applique à

AddHyperlinkRelationship(Uri, Boolean, String)

Ajoute une nouvelle relation de lien hypertexte.

public DocumentFormat.OpenXml.Packaging.HyperlinkRelationship AddHyperlinkRelationship (Uri hyperlinkUri, bool isExternal, string id);
member this.AddHyperlinkRelationship : Uri * bool * string -> DocumentFormat.OpenXml.Packaging.HyperlinkRelationship
Public Function AddHyperlinkRelationship (hyperlinkUri As Uri, isExternal As Boolean, id As String) As HyperlinkRelationship

Paramètres

hyperlinkUri
Uri

URI du lien hypertexte.

isExternal
Boolean

Lien hypertexte externe à .OpenXmlPackage

id
String

ID de relation souhaité.

Retours

HyperlinkRelationship avec l’ID de relation.

Exceptions

Levée lorsque « hyperlinkUri » ou « id » est une référence null.

S’applique à