FormErrorCollection Members

Include Protected Members
Include Inherited Members

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

The FormErrorCollection type exposes the following members.

Constructors

  Name Description
Protected method FormErrorCollection

Top

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

Methods

  Name Description
Public method Add(XPathNavigator, String, String) Creates and adds a new FormError to the FormErrorCollection object associated with the current form.
Public method Add(XPathNavigator, String, String, String) Creates and adds a new FormError to the FormErrorCollection object associated with the current form.
Public method Add(XPathNavigator, String, String, String, Int32) Creates and adds a new FormError to the FormErrorCollection object associated with the current form.
Public method Add(XPathNavigator, String, String, String, Int32, ErrorMode) Creates and adds a new FormError to the FormErrorCollection object associated with the current form.
Public method Delete(String) Deletes all FormError objects of the specified name from the FormErrorCollection object associated with the current form.
Public method Delete(FormError) Deletes the specified FormError 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 (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an IEnumerator object that iterates over all entries in the collection.
Public method GetErrors(String) Returns all FormError objects of the specified name from the FormErrorCollection object associated with the current form.
Public method GetErrors(FormErrorType) Returns all FormError objects of the specified type from the FormErrorCollection object associated with the current form.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

FormErrorCollection Class

Microsoft.Office.InfoPath Namespace