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)

Syntax

'Declaration
ReadOnly Property DataType As String
    Get
'Usage
Dim instance As IInfoPathViewControl
Dim value As String

value = instance.DataType
string DataType { get; }

Property value

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

Remarks

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.

See also

Reference

IInfoPathViewControl interface

IInfoPathViewControl members

Microsoft.Office.Interop.InfoPath namespace