Contains a Window object for each InfoPath window that is currently open.
Assembly: Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)
Window objects represent the two types of windows that are used in the InfoPath application: the editing window that displays a form when a user fills out a form, and the designing window that is used in design mode when a user designs a form template.
The WindowCollection collection can be used only to get the count of Window objects that it contains or to return a reference to a specified Window object. It cannot be used to create, add, or remove Window objects.