編輯

共用方式為


Errors Interface

Definition

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.

public interface class Errors : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("096CD578-0786-11D1-95FA-0080C78EE3BB")]
public interface Errors : System.Collections.IEnumerable
type Errors = interface
    interface IEnumerable
Public Interface Errors
Implements IEnumerable
Derived
Attributes
Implements

Properties

Count

Gets a count of the number of ErrorObject objects contained in the collection.

Item[Int32]

Gets a reference to the specified ErrorObject object from the collection.

Methods

Add(Object, String, String, String, Int32, String)

Adds an ErrorObject to ErrorsCollection and returns a reference to the new Error object.

Delete(Object, String)

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.

Applies to