Share via


HubSectionCollection.InsertAt(UInt32, HubSection) 方法

定义

在指定的索引处插入指定的项。

void InsertAt(uint32_t const& index, HubSection const& value);
public void InsertAt(uint index, HubSection value);
function insertAt(index, value)
Public Sub InsertAt (index As UInteger, value As HubSection)

参数

index
UInt32

uint32_t

要设置值的索引。

value
HubSection

要设置的值。

实现

M:Windows.Foundation.Collections.IVector1.InsertAt(System.UInt32,0) M:Windows.Foundation.Collections.IVector1.InsertAt(uint32_t,0)

注解

InsertAt 展开集合并移动所有后续索引项 1。

适用于