Share via


ErrorsCollection Members

Include Protected Members
Include Inherited Members

Contains an ErrorObject object for each error within a Microsoft InfoPath 2010 form.

The ErrorsCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets a count of the number of ErrorObject objects contained in the collection. (Inherited from Errors.)
Public property Item Gets a reference to the specified ErrorObject object from the collection. (Inherited from Errors.)

Top

Methods

  Name Description
Public method Add Adds an ErrorObject to ErrorsCollection and returns a reference to the new Error object. (Inherited from Errors.)
Public method Delete Deletes the specified ErrorObject object from the ErrorsCollection collection. (Inherited from Errors.)
Public method DeleteAll Deletes all of the ErrorObject objects contained in the ErrorsCollection collection. (Inherited from Errors.)
Public method GetEnumerator Gets an IEnumerator that iterates over all entries in the ErrorsCollection object. (Inherited from Errors.)

Top

See Also

Reference

ErrorsCollection Interface

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace