Share via


_XDocument3.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.SemiTrust
Assembly:  Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)

Syntax

'Declaration
Sub Query
'Usage
Dim instance As _XDocument3

instance.Query()
void Query()

Implements

_XDocument2.Query()
_XDocument.Query()

Remarks

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

Important

This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.

See also

Reference

_XDocument3 interface

_XDocument3 members

Query overload

Microsoft.Office.Interop.InfoPath.SemiTrust namespace