InfoPathEditorWithAppDomain.NewFromSolution(String, Object, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- 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.