WindowCollection Class (Microsoft.Office.InfoPath)
Contains a Window object for each InfoPath window that is currently open.
Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)
Syntax
'Declaration
<DefaultMemberAttribute("Item")> _
Public MustInherit Class WindowCollection
Implements IEnumerable
'Usage
Dim instance As WindowCollection
[DefaultMemberAttribute("Item")]
public abstract class WindowCollection : IEnumerable
Remarks
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 implements properties that can be used to access a form's associated Window objects, and it is accessible through the Windows property of the Application object
Note
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.
Inheritance Hierarchy
System.Object
Microsoft.Office.InfoPath.WindowCollection
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
WindowCollection Members
Microsoft.Office.InfoPath Namespace