Delen via


TimelineMarkerCollection.RemoveAt(UInt32) Method

Definition

Removes the item at the specified index.

public:
 virtual void RemoveAt(unsigned int index) = IVector<TimelineMarker ^>::RemoveAt;
void RemoveAt(uint32_t const& index);
public void RemoveAt(uint index);
function removeAt(index)
Public Sub RemoveAt (index As UInteger)

Parameters

index
UInt32

unsigned int

uint32_t

The index position of the item to remove.

Implements

M:Windows.Foundation.Collections.IVector`1.RemoveAt(System.UInt32) M:Windows.Foundation.Collections.IVector`1.RemoveAt(unsigned int) M:Windows.Foundation.Collections.IVector`1.RemoveAt(uint32_t)

Remarks

Collection API for TimelineMarkerCollection

A TimelineMarkerCollection is an ordered list where the order is determined by the Time value of each TimelineMarker item contained in the collection. The collection API for TimelineMarkerCollection internally processes each new item that is added to the collection and adds it at an index location that corresponds to an updated ordering of all Time values for all TimelineMarker items in the collection.

RemoveAt will remove the specified indexed item, but won't remove possible duplicate items when the collection index shifts for the remaining Time values. We recommend you don't use RemoveAt.

Applies to