Connection 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
Connection() |
Initializes a new instance of the Connection class. |
Connection(OpenXmlElement[]) |
Initializes a new instance of the Connection class with the specified child elements. |
Connection(IEnumerable<OpenXmlElement>) |
Initializes a new instance of the Connection class with the specified child elements. |
Connection(String) |
Initializes a new instance of the Connection class from outer XML. |
Connection()
Initializes a new instance of the Connection class.
public Connection ();
Public Sub New ()
Applies to
Connection(OpenXmlElement[])
Initializes a new instance of the Connection class with the specified child elements.
public Connection (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Office2013.Excel.Connection : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Office2013.Excel.Connection
Public Sub New (ParamArray childElements As OpenXmlElement())
Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
Connection(IEnumerable<OpenXmlElement>)
Initializes a new instance of the Connection class with the specified child elements.
public Connection (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Office2013.Excel.Connection : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Office2013.Excel.Connection
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))
Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
Connection(String)
Initializes a new instance of the Connection class from outer XML.
public Connection (string outerXml);
new DocumentFormat.OpenXml.Office2013.Excel.Connection : string -> DocumentFormat.OpenXml.Office2013.Excel.Connection
Public Sub New (outerXml As String)
Parameters
- outerXml
- String
Specifies the outer XML of the element.