Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

IInfoPathDataImporterFields interface

A collection of fields in the view.

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

<GuidAttribute("096CD76C-0786-11D1-95FA-0080C78EE3BB")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IInfoPathDataImporterFields
Dim instance As IInfoPathDataImporterFields

Use the GetControls method of the IInfoPathDataImporterFields interface to return a collection of IInfoPathViewControl objects. Each object in the collection corresponds to a control in the view of the form. Each control has various properties you can evaluate or set, like the read-only DataType and InputScopes properties, and the read/write Value property. Use these properties in conjunction with the data from the import source to import data into an InfoPath form.

For more information about programmatically importing data into an InfoPath form, see the InfoPath Developer Portal on the Microsoft Office Developer Center.

© 2015 Microsoft