Hyperlink Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
Hyperlink()
Initializes a new instance of the Hyperlink class.
public Hyperlink ();
Public Sub New ()
Applies to
Hyperlink(OpenXmlElement[])
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
Hyperlink(IEnumerable<OpenXmlElement>)
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
Hyperlink(String)
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.