BehaviorCollection class

BehaviorCollection class

Represents collection of behavior effects.

The BehaviorCollection type exposes the following members:

Properties

PropertyDescription
countReturns the number of behaviors in a collection.
Read-only int.
is_read_onlyGets a value indicating whether the System.Collections.Generic.ICollection`1 is read-only.
Read-only bool.

Retirns a behavior at the specified index.

Indexer

NameDescription
[index]Index of a behavior to return.

Methods

MethodDescription
add(self, item)Add new behavior to a collection.
index_of(self, item)Determines the index of a specific item in the System.Collections.Generic.IList`1.
insert(self, index, item)Inserts new behavior to a collection at the specified index.
copy_to(self, array, array_index)Copies the elements of the System.Collections.Generic.ICollection`1 to an System.Array, starting at a particular System.Array index.
remove(self, item)Removes specified behavior from a collection.
remove_at(self, index)Removes behavior from a collection at the specified index.
clear(self)Removes all behaviors from a collection.
contains(self, item)Determines whether the System.Collections.Generic.ICollection`1 contains a specific value.

See Also