HttpChallengeHeaderValueCollection.InsertAt 方法

定義

HttpChallengeHeaderValue 插入集合中指定的索引處。

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

參數

index
UInt32

unsigned int

uint32_t

應該插入 value 之以零啟始的索引。

value
HttpChallengeHeaderValue

要插入集合的物件。

實作

M:Windows.Foundation.Collections.IVector1.InsertAt(System.UInt32,0) M:Windows.Foundation.Collections.IVector1.InsertAt(unsigned int,0) M:Windows.Foundation.Collections.IVector1.InsertAt(uint32_t,0)

備註

若要將專案新增至集合中的結束位置,您可以使用 Append 方法。 使用與Size值相同的索引值呼叫 InsertAt 相當於呼叫Append

適用於