Share via


IInfoPathViewControl.ControlType - Propriété

Obtient le type de contrôle du contrôle actif dans l'énumération.

Espace de noms :  Microsoft.Office.Interop.InfoPath
Assembly :  Microsoft.Office.Interop.InfoPath (dans Microsoft.Office.Interop.InfoPath.dll)

Syntaxe

'Déclaration
ReadOnly Property ControlType As String
    Get
'Utilisation
Dim instance As IInfoPathViewControl
Dim value As String

value = instance.ControlType
string ControlType { get; }

Valeur de propriété

Type : System.String
Le type de contrôle du contrôle actuel.

Remarques

Pour obtenir la liste des contrôles qui sont énumérés dans l'affichage, le cas échéant, reportez-vous à la méthode GetControls de l'interface IInfoPathDataImporterFields .

Pour plus d'informations sur l'importation par programme des données dans un formulaire InfoPath, voir le Portail des développeurs InfoPath sur le Centre de développement Microsoft Office.

Voir aussi

Référence

IInfoPathViewControl interface

IInfoPathViewControl - Membres

Microsoft.Office.Interop.InfoPath - Espace de noms