Share via


DependencyObjectCollection.RemoveAt(UInt32) 方法

定义

删除指定索引处的项。

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

注解

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

适用于