Share via


_XDocument4.Query Method

Retrieves data from a form's associated data adapter object and stores the data in the form's underlying XML Document Object Model (DOM).

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

Syntax

'Declaration
Sub Query
'Usage
Dim instance As _XDocument4

instance.Query()
void Query()

Implements

_XDocument3.Query()

Remarks

The Query method will return an error if the form does not have an associated data adapter object.

See Also

Reference

_XDocument4 Interface

_XDocument4 Members

Query Overload

Microsoft.Office.Interop.InfoPath Namespace