Sdílet prostřednictvím


JsonArray.RemoveAt(UInt32) Method

Definition

Removes the element at the specified index of the collection.

public:
 virtual void RemoveAt(unsigned int index) = IVector<IJsonValue ^>::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 zero-based index of the element 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.

Applies to