Share via


FormErrorCollection Members

Contains a FormError object for each error in the current form.

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

Protected Constructors

  Name Description
Protected method FormErrorCollection  

Top

Public Properties

  Name Description
Public property Count Gets the number of FormError objects in the FormErrorCollection object associated with the current form.
Public property Item Gets a FormError object from the FormErrorCollection object associated with the current form by index value.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Add Overloaded.  
Public method Delete Overloaded. Deletes the specified user-defined error from the FormErrorCollection object associated with the current form.
Public method DeleteAll Deletes all of the FormError objects contained in the FormErrorCollection object associated with the current form.
Public method Equals  Overloaded. (inherited from Object)
Public method GetEnumerator Gets an IEnumerator object that iterates over all entries in the collection.
Public method GetErrors Overloaded.  
Public method GetHashCode  (inherited from Object)
Public method GetType  (inherited from Object)
Public method Static ReferenceEquals  (inherited from Object)
Public method ToString  (inherited from Object)

Top

Protected Methods

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

Top

See Also

Reference

FormErrorCollection Class
Microsoft.Office.InfoPath Namespace