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
addAdd new behavior to a collection.
index_ofDetermines the index of a specific item in the System.Collections.Generic.IList`1.
insertInserts new behavior to a collection at the specified index.
copy_toCopies the elements of the System.Collections.Generic.ICollection`1 to an System.Array, starting at a particular System.Array index.
removeRemoves specified behavior from a collection.
remove_atRemoves behavior from a collection at the specified index.
clearRemoves all behaviors from a collection.
containsDetermines whether the System.Collections.Generic.ICollection`1 contains a specific value.

See Also