共用方式為


HttpMediaTypeWithQualityHeaderValueCollection.GetMany 方法

定義

擷取從集合中指定索引處開始的 HttpMediaTypeWithQualityHeaderValue 專案。

public:
 virtual unsigned int GetMany(unsigned int startIndex, Platform::Array <HttpMediaTypeWithQualityHeaderValue ^> ^ items) = IVector<HttpMediaTypeWithQualityHeaderValue ^>::GetMany;
uint32_t GetMany(uint32_t const& startIndex, winrt::array_view <HttpMediaTypeWithQualityHeaderValue const&> & items);
public uint GetMany(uint startIndex, HttpMediaTypeWithQualityHeaderValue[] items);
function getMany(startIndex, items)
Public Function GetMany (startIndex As UInteger, items As HttpMediaTypeWithQualityHeaderValue()) As UInteger

參數

startIndex
UInt32

unsigned int

uint32_t

HttpMediaTypeWithQualityHeaderValue 專案中 HttpMediaTypeWithQualityHeaderValue專案的開頭以零起始的索引

傳回

UInt32

unsigned int

uint32_t

擷取的項目數目。

實作

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

適用於