Share via


GeometryCollection.InsertAt(UInt32, Geometry) Method

Definition

Inserts the specified item at the specified index.

public void InsertAt(uint index, Geometry value);

Parameters

index
UInt32

The index at which to set the value.

value
Geometry

The value to set.

Implements

M:Windows.Foundation.Collections.IVector1.InsertAt(System.UInt32,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

Product Versions
WinRT Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100