Edit

Share via


WindowCollection Class

Definition

Contains a Window object for each InfoPath window that is currently open.

public ref class WindowCollection abstract : System::Collections::IEnumerable
public abstract class WindowCollection : System.Collections.IEnumerable
type WindowCollection = class
    interface IEnumerable
Public MustInherit Class WindowCollection
Implements IEnumerable
Inheritance
WindowCollection
Implements

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.

Constructors

WindowCollection()

Properties

Count

Gets a count of the number of Window objects contained in the WindowCollection collection.

Item[Int32]

Gets a reference to the specified Window object in the WindowCollection object.

Methods

GetEnumerator()

Gets a System.Collections.IEnumerator object that iterates over all entries in the collection.

Applies to