次の方法で共有


WindowCollection Class

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

Inheritance Hierarchy

System.Object
  Microsoft.Office.InfoPath.WindowCollection

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)

Syntax

'Declaration
Public MustInherit Class WindowCollection _
    Implements IEnumerable
'Usage
Dim instance As WindowCollection
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.

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