BehaviorPropertyCollection

BehaviorPropertyCollection

Overview

BehaviorPropertyCollection is a class in Aspose.Slides FOSS for Python. Inherits from: BaseCollection, IBehaviorPropertyCollection.

Represents collection of behavior properties.

This class declares 6 methods for BehaviorPropertyCollection objects in Python programs. Available methods include: __contains__, __getitem__, __iter__, __len__, add, index_of. Public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package. Properties: as_i_enumerable, length.

Properties

NameTypeAccessDescription
as_i_enumerableAnyReadGets the as i enumerable.
lengthintReadReturns the number of elements.

Methods

SignatureDescription
add(property_value)Appends a new behavior property to the collection, and index_of(property_value) returns its position
index_of(property_value) → intReturns the zero‑based index of the given property value, or -1 if absent
__getitem__(index: int) → BehaviorPropertyCalls getitem(index) on this BehaviorPropertyCollection instance.
__len__()Calls len on this BehaviorPropertyCollection instance.
__iter__()Calls iter on this BehaviorPropertyCollection instance.
__contains__(item) → boolCalls contains(item) on this BehaviorPropertyCollection instance.

See Also

 English