Share via


Hyperlink Constructors

Definition

Overloads

Hyperlink()

Initializes a new instance of the Hyperlink class.

Hyperlink(OpenXmlElement[])

Initializes a new instance of the Hyperlink class with the specified child elements.

Hyperlink(IEnumerable<OpenXmlElement>)

Initializes a new instance of the Hyperlink class with the specified child elements.

Hyperlink(String)

Initializes a new instance of the Hyperlink class from outer XML.

Initializes a new instance of the Hyperlink class.

public Hyperlink ();
Public Sub New ()

Applies to

Initializes a new instance of the Hyperlink class with the specified child elements.

public Hyperlink (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Wordprocessing.Hyperlink : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Wordprocessing.Hyperlink
Public Sub New (ParamArray childElements As OpenXmlElement())

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Initializes a new instance of the Hyperlink class with the specified child elements.

public Hyperlink (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Wordprocessing.Hyperlink : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Wordprocessing.Hyperlink
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Initializes a new instance of the Hyperlink class from outer XML.

public Hyperlink (string outerXml);
new DocumentFormat.OpenXml.Wordprocessing.Hyperlink : string -> DocumentFormat.OpenXml.Wordprocessing.Hyperlink
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to