Share via


InfoPathEditor.LoadFromStream method

Loads a form file (.xml) from a file stream (System.IO.IStream) into the InfoPathEditor object.

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

Syntax

'Declaration
Sub LoadFromStream ( _
    punkStream As Object _
)
'Usage
Dim instance As InfoPathEditor
Dim punkStream As Object

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

Parameters

  • punkStream
    Type: System.Object

    The file stream (System.IO.IStream) containing the form file (.xml).

Remarks

For more information about the InfoPathEditor and the FormControl objects , see the MSDN article Hosting the InfoPath Form Editing Environment in a Custom Windows Form Application and the "The InfoPath Editor Hosted As a Control" section of What's New for InfoPath Developers.

See also

Reference

InfoPathEditor interface

InfoPathEditor members

Microsoft.Office.Interop.InfoPath namespace