Edit

Share via


InfoPathEditorWithAppDomain.NewFromSolution(String, Object, String) Method

Definition

Creates a new form based on a form template (.xsn) file.

public:
 void NewFromSolution(System::String ^ bstrSolutionURI, System::Object ^ punkAppDomain, System::String ^ bstrInputParameters);
public void NewFromSolution (string bstrSolutionURI, object punkAppDomain, string bstrInputParameters);
abstract member NewFromSolution : string * obj * string -> unit
Public Sub NewFromSolution (bstrSolutionURI As String, punkAppDomain As Object, bstrInputParameters As String)

Parameters

bstrSolutionURI
String

The path or URL to the form template (.xsn) file.

punkAppDomain
Object

An AppDomain

bstrInputParameters
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.

Applies to