Share via


MailMerge Constructors

Definition

Overloads

MailMerge()

Initializes a new instance of the MailMerge class.

MailMerge(OpenXmlElement[])

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

MailMerge(IEnumerable<OpenXmlElement>)

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

MailMerge(String)

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

MailMerge()

Initializes a new instance of the MailMerge class.

public MailMerge ();
Public Sub New ()

Applies to

MailMerge(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

MailMerge(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

MailMerge(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to