ItemCollection.RemoveAt(UInt32) 方法

定義

移除指定之索引處的項目。

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

參數

index
UInt32

unsigned int

uint32_t

要移除的項目索引位置。

實作

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)

備註

如果成功,呼叫這個方法會將集合大小減少一。 索引值大於所呼叫索引的專案,其索引值會減少一。

適用於