IAddresses¶
- class IAddresses¶
Bases:
ImpactCOMWrapperBase,Iterable- Summary:
A collection of IAddress objects.
- Remarks:
Introduced in Impact 8.0.0.75.
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:
The number of items in this collection.
- Returns:
The value of Count.
- Return type:
count (int)
- add(description)¶
- Summary:
Adds an IAddress to the database for the associated owning object.
- Returns:
The new address object.
- Parameters:
description (str) – An optional description of the address being added.
Examples:
- 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 IAddress with the specified index.
- Parameters:
index (any) – Specifies the index of the address to get.
- refresh()¶
- Summary:
Refresh the IAddresses collection from the database.