共用方式為


HttpMediaTypeWithQualityHeaderValueCollection.SetAt 方法

定義

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

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

參數

index
UInt32

unsigned int

uint32_t

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

value
HttpMediaTypeWithQualityHeaderValue

要設定的專案。

實作

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)

適用於