Errors Members (Microsoft.Office.Interop.InfoPath)
This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, seeErrorsCollection.
The following tables list the members exposed by the Errors type.
| Name | Description | |
|---|---|---|
| Add | Adds an ErrorObject to ErrorsCollection and returns a reference to the new Error object. |
| Delete | Deletes the specified ErrorObject object from the ErrorsCollection collection. |
| DeleteAll | Deletes all of the ErrorObject objects contained in the ErrorsCollection collection. |
| GetEnumerator | Gets an IEnumerator that iterates over all entries in the ErrorsCollection object. |