DataObject Members
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

DataObject Members (Microsoft.Office.Interop.InfoPath)

This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, seeDataSourceObject.

The following tables list the members exposed by the DataObject type.

  Name Description
Public property DOM Gets a reference to an XML Document Object Model (DOM) that is associated with a DataSourceObject object.
Public property Name Gets the name of the associated DataSourceObject object.
Public property QueryAdapter Gets a reference to the data adapter object that is used for a secondary data source.

  Name Description
Public method Query Executes the query operation on the data adapter associated with the DataSourceObject object, and inserts the returned XML in the associated data source (XML DOM).
© 2016 Microsoft