Share via


InfoPathEditorWithAppDomain.LoadFromStream method

Loads XML from a file stream (System.IO.IStream) into the InfoPathEditorWithAppDomain object.

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

Syntax

'Declaration
Sub LoadFromStream ( _
    punkStream As Object, _
    punkAppDomain As Object, _
    bstrInputParameters As String _
)
'Usage
Dim instance As InfoPathEditorWithAppDomain
Dim punkStream As Object
Dim punkAppDomain As Object
Dim bstrInputParameters As String

instance.LoadFromStream(punkStream, punkAppDomain, _
    bstrInputParameters)
void LoadFromStream(
    Object punkStream,
    Object punkAppDomain,
    string bstrInputParameters
)

Parameters

  • punkStream
    Type: System.Object

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

  • punkAppDomain
    Type: System.Object

    An AppDomain object that represents the application domain in which the application hosting the control is executing.

  • bstrInputParameters
    Type: System.String

    One or more name/value pairs separated by the ampersand (&) character.

Remarks

To use the input parameters passed to the bstrInputParameters parameter, the form specified in the bstrURL parameter must contain a OnLoad event handler that uses the InputParameters property of the LoadingEventArgs class to retrieve the input parameter values, and then do something with those values.

See also

Reference

InfoPathEditorWithAppDomain interface

InfoPathEditorWithAppDomain members

Microsoft.Office.Interop.InfoPath namespace