BehaviorPropertyCollection

BehaviorPropertyCollection class

Represents timing properties for the effect behavior.

add

NameDescription
add (BehaviorProperty)Adds a new property to the collection.

Parameters:

NameTypeDescription
itemBehaviorPropertyProperty to add.

add

NameDescription
add (String)Adds a new property to the collection.

Parameters:

NameTypeDescription
propertyValueStringValue of the property to add.

addItem

NameDescription
addItem (BehaviorProperty)

clear

NameDescription
clear ()Removes all properties from the collection.

contains

NameDescription
contains (BehaviorProperty)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
itemBehaviorPropertyThe property to locate in the IGenericCollection.

Returns: boolean


contains

NameDescription
contains (String)Determines whether the IGenericCollection contains a specific value.

Parameters:

NameTypeDescription
propertyValueStringValue of the property to locate in the IGenericCollection.

Returns: boolean


containsItem

NameDescription
containsItem (BehaviorProperty)

Returns: boolean


copyTo

NameDescription
copyTo (com.aspose.slides.IBehaviorProperty[], int)Copies the elements of the IGenericCollection to an Array, starting at a particular Array index.

Parameters:

NameTypeDescription
arraycom.aspose.slides.IBehaviorProperty[]The one-dimensional Array that is the destination of the elements copied from IGenericCollection. The Array must have zero-based indexing.
arrayIndexintThe zero-based index in array at which copying begins.

Error

ErrorCondition
com.aspose.ms.System.ArgumentExceptionThe number of elements in the source IGenericCollection is greater than the available space from arrayIndex to the end of the destination array.

copyToTArray

NameDescription
copyToTArray (com.aspose.slides.IBehaviorProperty[], int)

get_Item

NameDescription
get_Item (int)Returns a property at the specified index.

Parameters:

NameTypeDescription
indexintIndex of a property to return.

Returns: BehaviorProperty


indexOf

NameDescription
indexOf (BehaviorProperty)Determines the index of a specific item in the List.

Parameters:

NameTypeDescription
itemBehaviorPropertyThe object to locate in the List.

Returns: int


indexOf

NameDescription
indexOf (String)Determines the index of a specific item by property value in the List.

Parameters:

NameTypeDescription
propertyValueStringvalue of the property

Returns: int


indexOfItem

NameDescription
indexOfItem (BehaviorProperty)

Returns: int


insert

NameDescription
insert (int, BehaviorProperty)Inserts a new property to the collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex where a new property should be inserted.
itemBehaviorPropertyProperty to add.

insert

NameDescription
insert (int, String)Inserts a new property (with the specified property value) to the collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex where a new property should be inserted.
propertyValueStringValue of the property to add.

insertItem

NameDescription
insertItem (int, BehaviorProperty)

isReadOnly

NameDescription
isReadOnly ()Gets a value indicating whether the IGenericCollection is read-only. Read-only boolean.

Returns: boolean


iterator

NameDescription
iterator ()Returns an enumerator that iterates through the collection.

Returns:


iteratorJava

NameDescription
iteratorJava ()Returns a java iterator for the entire collection.

Returns:


remove

NameDescription
remove (BehaviorProperty)Removes specified property from the collection.

Parameters:

NameTypeDescription
itemBehaviorPropertyProperty to remove.

Returns: boolean


remove

NameDescription
remove (String)Removes specified property from the collection.

Parameters:

NameTypeDescription
propertyValueStringValue of the property to remove.

Returns: boolean


removeAt

NameDescription
removeAt (int)Removes property at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the property which should be deleted.

removeItem

NameDescription
removeItem (BehaviorProperty)

Returns: boolean


set_Item

NameDescription
set_Item (int, BehaviorProperty)Sets a property at the specified index.

Parameters:

NameTypeDescription
indexintIndex of a property to return.

size

NameDescription
size ()Returns the number of properties stored in the collection. Read-only int.

Returns: int