CompositionShapeCollection.InsertAt(UInt32, CompositionShape) CompositionShapeCollection.InsertAt(UInt32, CompositionShape) CompositionShapeCollection.InsertAt(UInt32, CompositionShape) CompositionShapeCollection.InsertAt(UInt32, CompositionShape) Method

Definition

Inserts the specified item at the specified index.

public : void InsertAt(unsigned int index, CompositionShape value)
void InsertAt(uint32_t index, CompositionShape value) const;
public void InsertAt(UInt32 index, CompositionShape value)
Public Sub InsertAt(index As UInt32, value As CompositionShape)

Parameters

index
UInt32 UInt32

The zero-based index at which to insert the item.

value
CompositionShape CompositionShape

The object to insert into the collection.

Remarks

InsertAt expands the collection and moves all subsequent index items by one.

In contrast, SetAt replaces the item at the index, and the collection count remains the same.