A collection of fields in the view.
Assembly: Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)
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.