XmlFormCollection Class (Microsoft.Office.InfoPath)
Contains an XmlForm object for each form that is currently open.
Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)
The XmlFormCollection class implements properties and methods that can be used to access a form's associated XmlForm object, or to create and open the forms themselves. The XmlFormCollection object for the current instance of InfoPath is accessed through the XmlForms property of the Application object.