Share via


IInfoPathViewControl.DataType - Propriété

Obtient le type de données d'un contrôle dans l'affichage.

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

Syntaxe

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

value = instance.DataType
string DataType { get; }

Valeur de propriété

Type : System.String
Le type de données du contrôle.

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