IErrorItems

class IErrorItems

Bases: ImpactCOMWrapperBase, Iterable

Summary:

A collection of IErrorItem objects.

Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance

property count

Gets Count.

Summary:

Gets the number of objects in this collection.

Returns:

The value of Count.

Return type:

count (int)

property last

Gets Last.

Summary:

Gets the last error item in this collection.

Returns:

The value of Last.

Return type:

last (IErrorItem)

clear()
Summary:

Clears all the error items from this collection.

isNone()

Checks if the COM object is None. This is useful for determining if the wrapper has been initialized with a valid COM object.

item(index)
Summary:

Gets an IErrorItem object with the specified index.

Parameters:

index (int) – Specifies the index of the IErrorItem to get.