Share via


SharePointListAdapterRWObject interface

Represents a data connection for retrieving data from a SharePoint list or document library.

Namespace:  Microsoft.Office.Interop.InfoPath
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)

Syntax

'Declaration
<GuidAttribute("096CD635-0786-11D1-95FA-0080C78EE3BB")> _
Public Interface SharePointListAdapterRWObject _
    Inherits SharePointListAdapterRW
'Usage
Dim instance As SharePointListAdapterRWObject
[GuidAttribute("096CD635-0786-11D1-95FA-0080C78EE3BB")]
public interface SharePointListAdapterRWObject : SharePointListAdapterRW

Remarks

This type is a wrapper for a coclass that is required by managed code for COM interoperability. Use this type to access the members of the COM interface implemented by this coclass. For information about the COM interface, including a link to descriptions of its members, seeSharePointListAdapterRW

Note

Code written with the members implemented by the SharePointListAdapterRWObject class is not compatible with a data connection to a SharePoint list or document library created in InfoPath 2003 or InfoPath 2007, with a data connection in a new form template created in InfoPath with one of the InfoPath 2007 Form Templates, or with a data connection converted with the Convert to Previous Version button in the Data Connections dialog box. If you do not need to maintain compatibility with an earlier version of InfoPath and want to write code with members implemented by the SharePointListAdapterRWObject class, you can convert the data connection with the Convert to Current Version button in the Data Connections dialog box.

The SharePointListAdapterRW object represents a Microsoft InfoPath data connection for retrieving from a SharePoint list or document library.

For a secondary data source, the SharePointListAdapterRW object is accessible through the QueryAdapter property of DataSourceObject object. Data adapter objects are accessible through the DataAdapters property of the XDocument object.

See also

Reference

SharePointListAdapterRWObject members

Microsoft.Office.Interop.InfoPath namespace