IVector<T>.RemoveAt(UInt32) 方法

定義

移除向量中指定索引處的專案。

public:
 void RemoveAt(unsigned int index);
void RemoveAt(uint32_t const& index);
public void RemoveAt(uint index);
Public Sub RemoveAt (index As UInteger)

參數

index
UInt32

unsigned int

uint32_t

要移除之向量專案的以零起始的索引。

備註

使用 .NET 進行程式設計時,此介面會隱藏,您應該使用System.Collections.Generic.IList < T >介面。

如果索引超出範圍,檢視將會擲回例外狀況。

C++/WinRT 如果索引超出範圍,向量將會擲回 hresult_out_of_bounds 例外狀況。

C++/CX 如果索引超出範圍,向量將會擲回 OutOfBoundsException 例外狀況。

適用於

另請參閱