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)

适用于