次の方法で共有


Errors Members

Include Protected Members
Include Inherited Members

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 Errors type exposes the following members.

Properties

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

Top

Methods

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

Top

See Also

Reference

Errors Interface

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace