IBehaviorCollection class

IBehaviorCollection class

Represents collection of behavior effects.

The IBehaviorCollection type exposes the following members:

Properties

PropertyDescription
countReturns the number of behaviors in a collection.
Read-only int.

Returns 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.
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