...
Wiki Markup |
---|
{introducedin:4.1.0.1379 |
...
Description |
---|
Excerpt |
---|
Imports the data from a SharePoint List into a Table at the point of the current element in the document. |
Signature | ||
---|---|---|
C# | C# | }
{description}
{excerpt}Imports the data from a SharePoint List into a [Table|Table] at the point of the current element in the document.{excerpt}
{signature:C#}
public static Table ImportData(this Element element, Microsoft.SharePoint.SPList list)
|
Signature | ||
{signature}{signature:vb.net | vb.net | }
Public Shared Function ImportData(ByVal element As Element, ByVal list As Microsoft.SharePoint.SPList) As Table
|
Parameters |
---|
...
The current element which is calling ImportData
...
The SharePoint List to be used as a data source
Returns |
---|
The |
Remarks | |||
---|---|---|---|
Note | {signature} {parameters} {param:element}The current element which is calling ImportData{param} {param:list}The SharePoint List to be used as a data source{param} {returns}The {{Table}} into which the data is being imported{returns} {remarks} {note}This is an extension method for the Element object to be used for binding SharePoint data to documents from within SharePoint. To use this method, you must add a reference to SoftArtisans.OfficeWriter.WordWriter.SharePointIntegration.dll | ||
Example | |||
Code Block | | csharp | csharp |
title | C# | ||
Code Block | vb.net | title |