_XDocument3.DataAdapters Property
Gets a reference to the DataAdaptersCollection collection that is associated with a form.
Namespace: Microsoft.Office.Interop.InfoPath
Assembly: Microsoft.Office.Interop.InfoPath (in microsoft.office.interop.infopath.dll)
Syntax
'Declaration
'Usage
Property Value
A reference to the DataAdaptersCollection collection that is associated with a form.
Example
In the following example, the DataAdapters property of the XDocument object is used to set a reference to a data adapter called "Main query":
object objDataAdapter;
objDataAdapter = thisXDocument.DataAdapters["Main query"];
See Also
Reference
_XDocument3 Interface
_XDocument3 Members
Microsoft.Office.Interop.InfoPath Namespace