_XDocument3.DataAdapters Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a reference to the DataAdaptersCollection collection that is associated with a form.
public:
property Microsoft::Office::Interop::InfoPath::DataAdaptersCollection ^ DataAdapters { Microsoft::Office::Interop::InfoPath::DataAdaptersCollection ^ get(); };
public Microsoft.Office.Interop.InfoPath.DataAdaptersCollection DataAdapters { get; }
member this.DataAdapters : Microsoft.Office.Interop.InfoPath.DataAdaptersCollection
Public ReadOnly Property DataAdapters As DataAdaptersCollection
Property Value
A reference to the DataAdaptersCollection collection that is associated with a form.
Implements
Examples
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.<span class="label">DataAdapters</span>["Main query"];
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.<span class="label">DataAdapters</span>["Main query"];