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