Share via


Writer Constructors

Definition

Overloads

Writer()

Initializes a new instance of the Writer class.

Writer(OpenXmlElement[])

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

Writer(IEnumerable<OpenXmlElement>)

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

Writer(String)

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

Writer()

Initializes a new instance of the Writer class.

public Writer ();
Public Sub New ()

Applies to

Writer(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Writer(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Writer(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to