This documentation is archived and is not being maintained.

ViewInfoCollection Members (Microsoft.Office.InfoPath)

Contains a ViewInfo object for each view within a form.

The following tables list the members exposed by the ViewInfoCollection type.

  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 Overloaded. Gets the specified ViewInfo object from the ViewInfoCollection collection.

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. (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)
Public method Static ReferenceEquals  (inherited from Object)
Public method SwitchView Overloaded. Switches the current view to the specified view.
Public method ToString  (inherited from Object)

  Name Description
Protected method Finalize  (inherited from Object)
Protected method MemberwiseClone  (inherited from Object)