Message-ID: <1153207607.8303.1711641021373.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_8302_983155375.1711641021373" ------=_Part_8302_983155375.1711641021373 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html SharePointIntegration.ImportData(Element, Microsoft.SharePoint.S= PList)

SharePointIntegration.ImportData(Element, Microsoft.SharePoint.SPLi= st)

Intro= duced in build 4.1.0.1379

=20

Description

=20

Imports the data from a SharePoint List into a Table at the point of the current element in the document.

=20
C#
=20
<p>public static Table ImportData(this Element element, Microsoft.Sha=
rePoint.SPList list)</p>
=20
=20
vb.net
=20
<p>Public Shared Function ImportData(ByVal element As Element, ByVal =
list As Microsoft.SharePoint.SPList) As Table</p>
=20
=20

Parameters

=20
element
The current element which is calling ImportData= =20
list
The SharePoint List to be used as a data source=20

Returns

The=20 Table into which the data is being imported=20

Remarks

=20
=20 Icon=20
=20

This is an extension method for the Element object to be used for bindin= g SharePoint data to documents from within SharePoint. To use this method, = you must add a reference to SoftArtisans.OfficeWriter.WordWriter.SharePoint= Integration.dll

=20
=20
=20

Examples

=20
C#
=20
Table tbl =3D e.ImportData(myList);
=20
=20
vb.net
=20
Dim tbl As Table =3D e.ImportData(myList)
=20
------=_Part_8302_983155375.1711641021373--