Partager via


InfoPathEditor.LoadFromStream - Méthode

Charge un fichier de formulaire (.xml) à partir d'un flux de fichier (System.IO.IStream) dans l'objet InfoPathEditor .

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

Syntaxe

'Déclaration
Sub LoadFromStream ( _
    punkStream As Object _
)
'Utilisation
Dim instance As InfoPathEditor
Dim punkStream As Object

instance.LoadFromStream(punkStream)
void LoadFromStream(
    Object punkStream
)

Paramètres

  • punkStream
    Type : System.Object

    Le flux de fichier (System.IO.IStream) qui contient le fichier de formulaire (.xml).

Remarques

Pour plus d'informations sur les InfoPathEditor et les objets FormControl , consultez l'article MSDN d'hébergement de l'environnement d'édition du formulaire InfoPath dans une Application de formulaire Windows personnalisée et la section « L'éditeur InfoPath Hosted comme un contrôle » Nouveautés pour les développeurs InfoPath.

Voir aussi

Référence

InfoPathEditor interface

InfoPathEditor - Membres

Microsoft.Office.Interop.InfoPath - Espace de noms