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

Definition

Sets the value at the specified index to the CompositionShape value specified.

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

Parameters

index
UInt32 UInt32

The index at which to set the value.

value
CompositionShape CompositionShape

The value to set.

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.