共用方式為


HttpCacheDirectiveHeaderValueCollection.SetAt 方法

定義

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

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

參數

index
UInt32

unsigned int

uint32_t

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

value
HttpNameValueHeaderValue

要設定的專案。

實作

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)

適用於