XmlFormCollection.Open Method (String, XmlFormOpenMode)
Opens the specified form by using the specified open mode behavior.
Assembly: Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)
- Type: System.String
The Uniform Resource Identifier (URI) of the form to open.
The Open method can only be used to open a form; it cannot be used to open a form template. To create a form from a form template, use the NewFromFormTemplate method. To create a form that is based on an existing form, use the New method.
When you use the Open method, the specified form opens in Microsoft InfoPath 2010 and is ready to be filled out.
This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.
This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.