Share via


WindowTabCollection.RemoveAt(UInt32) 方法

定义

删除指定索引处的项。

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

注解

重要

此 API 仅适用于 Win32 桌面应用。 不支持 UWP 和其他应用类型。

如果成功,调用此方法会将集合大小减少 1。 索引值大于所调用索引的项的索引值减少 1。

适用于