InfoPathControl2 - Interface

Définit les méthodes utilisées à partir de l'implémentation d'un contrôle ActiveX pour l'initialisation, initialisation, activation, désactivation et l'enregistrement de l'état d'un contrôle.

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

Syntaxe

'Déclaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("096CD77D-0786-11D1-95FA-0080C78EE3BB")> _
Public Interface InfoPathControl2 _
    Inherits InfoPathControl
'Utilisation
Dim instance As InfoPathControl2
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("096CD77D-0786-11D1-95FA-0080C78EE3BB")]
public interface InfoPathControl2 : InfoPathControl

Remarques

Les objets InfoPathControl2 et InfoPathControlSite et leurs méthodes et des propriétés sont conçues pour être utilisés uniquement à partir de l'implémentation d'un contrôle ActiveX. Ces objets et leurs membres ne sont pas pris en charge dans le code de formulaire InfoPath. Pour plus d'informations sur la façon de créer les contrôles ActiveX qui fonctionnent avec InfoPath, consultez le Centre pour développeurs InfoPath (https://msdn.microsoft.com/infopath).

Voir aussi

Référence

InfoPathControl2 - Membres

Microsoft.Office.Interop.InfoPath - Espace de noms