共用方式為


HttpCacheDirectiveHeaderValueCollection.InsertAt 方法

定義

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

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

參數

index
UInt32

unsigned int

uint32_t

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

value
HttpNameValueHeaderValue

要插入集合的物件。

實作

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)

適用於