Message-ID: <817054315.8707.1711656689206.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_8706_1165467686.1711656689206" ------=_Part_8706_1165467686.1711656689206 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html WordTemplate.SetMailMerge

WordTemplate.SetMailMerge

=20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20

Overload

Description

SetMailMerge(Object(,), String())

Sets the MailMerge's data source to a two-dimens= ional (rectangular) array of objects. A MailMerge by default treats the pag= e content as a repeat block, repeating the page content for each row unless= NEXT fields are used. If the WordTemplate.EnableNEXTFields property is set to true, the N= EXT field can also be used to indicate that the next row of data should be = inserted instead of the current row at the next occurence of the merge fiel= ds. This should largely imitate the behavior of a Microsoft Word Mail merge= .

SetMailMerge(Object(,), String(), Int32, Boolean)

Sets the MailMerge's data source to a two-dimens= ional (rectangular) array of objects. A MailMerge by default treats the pag= e content as a repeat block, repeating the page content for each row unless= NEXT fields are used. If the WordTemplate.EnableNEXTFields property is set to true, the N= EXT field can also be used to indicate that the next row of data should be = inserted instead of the current row at the next occurence of the merge fiel= ds. This should largely imitate the behavior of a Microsoft Word Mail merge= .

SetMailMerge(Object(), String())

Sets the MailMerge's data source to a two-dimens= ional (rectangular) array of objects. A MailMerge by default treats the pag= e content as a repeat block, repeating the page content for each row unless= NEXT fields are used. If the WordTemplate.EnableNEXTFields property is set to true, the N= EXT field can also be used to indicate that the next row of data should be = inserted instead of the current row at the next occurence of the merge fiel= ds. This should largely imitate the behavior of a Microsoft Word Mail merge= .

SetMailMerge(Object()(), String())

Sets the MailMerge's data source to a two-dimens= ional (rectangular) array of objects. A MailMerge by default treats the pag= e content as a repeat block, repeating the page content for each row unless= NEXT fields are used. If the WordTemplate.EnableNEXTFields property is set to true, the N= EXT field can also be used to indicate that the next row of data should be = inserted instead of the current row at the next occurence of the merge fiel= ds. This should largely imitate the behavior of a Microsoft Word Mail merge= .

SetMailMerge(Object()(), String(), Int32, Boolean)

Sets the MailMerge's data source to a two-dimens= ional (rectangular) array of objects. A MailMerge by default treats the pag= e content as a repeat block, repeating the page content for each row unless= NEXT fields are used. If the WordTemplate.EnableNEXTFields property is set to true, the N= EXT field can also be used to indicate that the next row of data should be = inserted instead of the current row at the next occurence of the merge fiel= ds. This should largely imitate the behavior of a Microsoft Word Mail merge= .

SetMailMerge(System.Collections.ICollection)

Sets the MailMerge's data source to a two-dimens= ional (rectangular) array of objects. A MailMerge by default treats the ent= ire page as a repeat block, adding a new page when needed. A MailMerge by d= efault treats the page content as a repeat block, repeating the page conten= t for each row unless NEXT fields are used. If the WordTemplate.EnableNEXTFields property = is set to true, the NEXT field can also be used to indicate that the next r= ow of data should be inserted instead of the current row at the next occure= nce of the merge fields. This should largely imitate the behavior of a Micr= osoft Word Mail merge.

SetMailMerge(System.Collections.IEnumerator)

Sets the MailMerge's data source to a two-dimens= ional (rectangular) array of objects. A MailMerge by default treats the pag= e content as a repeat block, repeating the page content for each row unless= NEXT fields are used. If the WordTemplate.EnableNEXTFields property is set to true, the N= EXT field can also be used to indicate that the next row of data should be = inserted instead of the current row at the next occurence of the merge fiel= ds. This should largely imitate the behavior of a Microsoft Word Mail merge= .

SetMailMerge(System.Data.DataSet)

Sets the MailMerge's data source to a two-dimens= ional (rectangular) array of objects. A MailMerge by default treats the pag= e content as a repeat block, repeating the page content for each row unless= NEXT fields are used. If the WordTemplate.EnableNEXTFields property is set to true, the N= EXT field can also be used to indicate that the next row of data should be = inserted instead of the current row at the next occurence of the merge fiel= ds.

SetMailMerge(System.Data.DataSet, Int32)

Sets the MailMerge's data source to a two-dimens= ional (rectangular) array of objects. A MailMerge by default treats the pag= e content as a repeat block, repeating the page content for each row unless= NEXT fields are used. If the WordTemplate.EnableNEXTFields property is set to true, the N= EXT field can also be used to indicate that the next row of data should be = inserted instead of the current row at the next occurence of the merge fiel= ds.

SetMailMerge(System.Data.DataTable)

Sets the MailMerge's data source to a two-dimens= ional (rectangular) array of objects. A MailMerge by default treats the pag= e content as a repeat block, repeating the page content for each row unless= NEXT fields are used. If the WordTemplate.EnableNEXTFields property is set to true, the N= EXT field can also be used to indicate that the next row of data should be = inserted instead of the current row at the next occurence of the merge fiel= ds.

SetMailMerge(System.Data.DataTable, Int32)

Sets the MailMerge's data source to a DataTable.= A MailMerge by default treats the page content as a repeat block, repeatin= g the page content for each row unless NEXT fields are used. If the WordTemplate.EnableNEXTFie= lds property is set to true, the NEXT field can also be used to indicat= e that the next row of data should be inserted instead of the current row a= t the next occurence of the merge fields.

SetMailMerge(System.Data.IDataReader)

Sets the MailMerge's data source to a two-dimens= ional (rectangular) array of objects. A MailMerge by default treats the pag= e content as a repeat block, repeating the page content for each row unless= NEXT fields are used. If the WordTemplate.EnableNEXTFields property is set to true, the N= EXT field can also be used to indicate that the next row of data should be = inserted instead of the current row at the next occurence of the merge fiel= ds.

SetMailMerge(System.Data.IDataReader, Int32)

Sets the MailMerge's data source to a two-dimens= ional (rectangular) array of objects. A MailMerge by default treats the pag= e content as a repeat block, repeating the page content for each row unless= NEXT fields are used. If the WordTemplate.EnableNEXTFields property is set to true, the N= EXT field can also be used to indicate that the next row of data should be = inserted instead of the current row at the next occurence of the merge fiel= ds.
=20

= SharePoint Integration Extension Methods

=20

Introduced in build 4.5

=20
=20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20

Overload

Description

SetMailMerge(Microsoft.SharePoint.SPList, Int32)

Sets the MailMerge's data source to a SharePoint= View. A MailMerge by default treats the page content as a repeat block, re= peating the page content for each row unless NEXT fields are used. If the <= a href=3D"/display/WW10/WordTemplate.EnableNEXTFields">WordTemplate.EnableN= EXTFields property is set to true, the NEXT field can also be used to i= ndicate that the next row of data should be inserted instead of the current= row at the next occurence of the merge fields.

SetMailMerge(Microsoft.SharePoint.SPList)

Sets the MailMerge's data source to a SharePoint= View. A MailMerge by default treats the page content as a repeat block, re= peating the page content for each row unless NEXT fields are used. If the <= a href=3D"/display/WW10/WordTemplate.EnableNEXTFields">WordTemplate.EnableN= EXTFields property is set to true, the NEXT field can also be used to i= ndicate that the next row of data should be inserted instead of the current= row at the next occurence of the merge fields.

SetMailMerge(Microsoft.SharePoint.SPView, Microsoft.SharePoint.SPLis= t, Int32)

Sets the MailMerge's data source to a SharePoint= View. A MailMerge by default treats the page content as a repeat block, re= peating the page content for each row unless NEXT fields are used. If the <= a href=3D"/display/WW10/WordTemplate.EnableNEXTFields">WordTemplate.EnableN= EXTFields property is set to true, the NEXT field can also be used to i= ndicate that the next row of data should be inserted instead of the current= row at the next occurence of the merge fields.

SetMailMerge(Microsoft.SharePoint.SPView, Microsoft.SharePoint.SPLis= t)

Sets the MailMerge's data source to a SharePoint= View. A MailMerge by default treats the page content as a repeat block, re= peating the page content for each row unless NEXT fields are used. If the <= a href=3D"/display/WW10/WordTemplate.EnableNEXTFields">WordTemplate.EnableN= EXTFields property is set to true, the NEXT field can also be used to i= ndicate that the next row of data should be inserted instead of the current= row at the next occurence of the merge fields.
------=_Part_8706_1165467686.1711656689206--