IInfoPathViewControl.DataType property

Gets the data type of a control in the view.

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

string DataType { get; }

Property value

Type: System.String
The data type of the control.

For a list of controls that are enumerated in the view, if present, see the GetControls method of the IInfoPathDataImporterFields interface.

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