共用方式為


HttpConnectionOptionHeaderValueCollection.SetAt 方法

定義

設定集合中指定索引處的 HttpConnectionOptionHeaderValue

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

參數

index
UInt32

unsigned int

uint32_t

要設定 HttpConnectionOptionHeaderValue之以零起始的索引。

value
HttpConnectionOptionHeaderValue

要設定的專案。

實作

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)

適用於