Message-ID: <1032034857.9989.1711708473481.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_9988_1979395562.1711708473481" ------=_Part_9988_1979395562.1711708473481 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html SharePointIntegration.ImportData(Area, Microsoft.SharePoint.SPVi= ew, Microsoft.SharePoint.SPList)

SharePointIntegration.ImportData(Area, Microsoft.SharePoint.SPView,= Microsoft.SharePoint.SPList)

Introduced in build 7.1.0.1855

=20

Description

=20

Imports data from a SharePoint View to the specified Area. The new data will overwrite values and formulas in th= e target worksheet cells, but existing formatting will be preserved.

=20
C#
=20
public static Area ImportData(this Area area, Microsoft.SharePoint.SPView v=
iew, Microsoft.SharePoint.SPList list)
=20
=20
vb.net
=20
Public Shared Function ImportData(ByVal area As Area, ByVal view As Microso=
ft.SharePoint.SPView, ByVal list As Microsoft.SharePoint.SPList) As Area
=20
=20

Parameters

=20
area
The current Area object which= is calling ImportData=20
view
SharePoint View to use as a d= ata source for the Area=20
list
SharePoint List associated wi= th the SharePoint View=20

Returns

An=20 Area object representing the set of cells populated with the i= mported values.=20

Remarks

=20
=20 Icon=20
=20

This is an extension method for the Area object to be used for binding S= harePoint data to spreadsheets from within SharePoint. To use this method, = you must add a reference to SoftArtisans.OfficeWriter.ExcelWriter.SharePoin= tIntegration.dll

=20
=20
=20

Examples

=20
C#
=20

          Area importedArea =3D a.ImportData(myView, myList);
        
=20
=20
vb.net
=20

          Dim importedArea As Area =3D a.ImportData(myView, myList)
        
=20
------=_Part_9988_1979395562.1711708473481--