Delen via


CompositionShapeCollection.InsertAt(UInt32, CompositionShape) Method

Definition

Inserts the specified item at the specified index.

public:
 virtual void InsertAt(unsigned int index, CompositionShape ^ value) = IVector<CompositionShape ^>::InsertAt;
void InsertAt(uint32_t const& index, CompositionShape const& value);
public void InsertAt(uint index, CompositionShape value);
function insertAt(index, value)
Public Sub InsertAt (index As UInteger, value As CompositionShape)

Parameters

index
UInt32

unsigned int

uint32_t

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

value
CompositionShape

The object to insert into the collection.

Implements

M:Windows.Foundation.Collections.IVector1.InsertAt(System.UInt32,0) M:Windows.Foundation.Collections.IVector1.InsertAt(unsigned int,0) M:Windows.Foundation.Collections.IVector1.InsertAt(uint32_t,0)

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.

Applies to