RowDefinitionCollection.InsertAt(UInt32, RowDefinition) 方法

定義

在指定的索引處插入指定的專案。

public:
 virtual void InsertAt(unsigned int index, RowDefinition ^ value) = IVector<RowDefinition ^>::InsertAt;
void InsertAt(uint32_t const& index, RowDefinition const& value);
public void InsertAt(uint index, RowDefinition value);
function insertAt(index, value)
Public Sub InsertAt (index As UInteger, value As RowDefinition)

參數

index
UInt32

unsigned int

uint32_t

要設定值的索引。

value
RowDefinition

要設定的值。

實作

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

備註

InsertAt 會展開集合,並依一個移動所有後續的索引項目目。 相反地, SetAt 會取代索引上的專案,而集合計數會維持不變。

適用於