Dela via


UIElementCollection.RemoveAt(UInt32) Method

Definition

Removes the item at the specified index.

public:
 virtual void RemoveAt(unsigned int index) = IVector<UIElement ^>::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

If successful, calling this method reduces the collection size by one. Items with index values greater than the called index have their index values reduced by one.

If you are programming using C# or Microsoft Visual Basic, see RemoveAt. The behavior of each language's RemoveAt is basically the same.

Applies to

See also