ISites¶
- class ISites¶
Bases:
ImpactCOMWrapperBase,Iterable- Summary:
A collection of ISite 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:
The number of items in this collection.
- Returns:
The value of Count.
- Return type:
count (int)
- by_key(key)¶
- Summary:
Retrieves a site by its key
- Parameters:
key (int) – Site key
- 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 ISite object with a specified name or index.
- Parameters:
index (any) – Specifies the name or index of the ISite object to get.
- refresh()¶
- Summary:
Refreshes the sites information from the database.
Examples