共用方式為


HttpMethodHeaderValueCollection.SetAt(UInt32, HttpMethod) 方法

定義

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

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

參數

index
UInt32

unsigned int

uint32_t

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

value
HttpMethod

要設定的專案。

實作

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)

適用於