共用方式為


BlockCollection.SetAt(UInt32, Block) 方法

定義

將位於指定索引處的值設定為指定的 Block 值。

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

參數

index
UInt32

unsigned int

uint32_t

要設定值的索引。

value
Block

要設定的值。

實作

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

適用於