ViewInfoCollection Members

Include Protected Members
Include Inherited Members

Contains a ViewInfo object for each view within a form.

The ViewInfoCollection type exposes the following members.

Constructors

  Name Description
Protected method ViewInfoCollection

Top

Properties

  Name Description
Public property Count Gets a count of the number of ViewInfo objects contained in the ViewInfoCollection collection.
Public property Default Gets a ViewInfo object that represents the default view as it is set in the form template.
Public property Initial Gets or sets the ViewInfo object that represents the initial view of the form.
Public property Item[Int32] Gets the specified ViewInfo object from the ViewInfoCollection collection by index value.
Public property Item[String] Gets the specified ViewInfo object from the ViewInfoCollection collection by name.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an IEnumerator object that iterates over all entries in the ViewInfoCollection object.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SwitchView(String) Switches the current view to the specified view by name.
Public method SwitchView(ViewInfo) Switches the current view to the view represented by the specified ViewInfo object.
Public method ToString (Inherited from Object.)

Top

See Also

Reference

ViewInfoCollection Class

Microsoft.Office.InfoPath Namespace