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

SharePointIntegration.ImportData(Element, Microsoft.SharePoint.SPVi= ew, Microsoft.SharePoint.SPList, DataImportProperties)

Introduced in build 4.1.0.1379<= /h4>=20

Descript= ion

=20

Imports the data from a SharePoint View into a Table at the point of the current element in the document. Also a= ccepts a SharePoint List to which the View belongs and a DataImportProperties object with the import= options.

=20
C#
=20
public static Table ImportData(this Element element, Microsoft.SharePoint.S=
PView view, Microsoft.SharePoint.SPList list, DataImportProperties props)
=20
=20
vb.net
=20
Public Shared Function ImportData(ByVal element As Element, ByVal view As M=
icrosoft.SharePoint.SPView, ByVal list As Microsoft.SharePoint.SPList, ByVa=
l props As DataImportProperties) As Table
=20
=20

Parameter= s

=20
element
= The current element which is calling ImportData=20
view
The S= harePoint View to be used as a data source=20
list
Share= Point List to which the View belongs=20
props
Imp= ort properties for this data import, including max rows, max columns, colum= n filter, etc.=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(myView, myList, importProps);
=20
=20
vb.net
=20
Dim tbl As Table =3D e.ImportData(myView, myList, importProps)
=20

------=_Part_9008_1329999376.1711672163782--