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)
Syntax
'Declaration
<GuidAttribute("096CD76C-0786-11D1-95FA-0080C78EE3BB")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IInfoPathDataImporterFields
'Usage
Dim instance As IInfoPathDataImporterFields
[GuidAttribute("096CD76C-0786-11D1-95FA-0080C78EE3BB")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IInfoPathDataImporterFields
Remarks
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.