Share via


IInfoPathViewControl.ControlType Property

Gets the control type of the current control in the enumeration.

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

Syntax

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

value = instance.ControlType
string ControlType { get; }

Property Value

Type: System.String
The control type of the current 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