HttpChallengeHeaderValueCollection.GetMany Method

Definition

Retrieves the HttpChallengeHeaderValue items that start at the specified index in the collection.

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

Parameters

startIndex
UInt32

unsigned int

uint32_t

The zero-based index of the start of the HttpChallengeHeaderValue items in the HttpChallengeHeaderValueCollection.

items
HttpChallengeHeaderValue[]

An array of HttpChallengeHeaderValue items that start at startIndex in the HttpChallengeHeaderValueCollection.

Returns

UInt32

unsigned int

uint32_t

The number of HttpChallengeHeaderValue items retrieved.

Implements

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[])

Remarks

The elements are copied to the array in the same order in which the enumerator iterates through the collection. It's typical to specify startIndex as 0 if all you're doing is making a simple copy of the collection items, where you've created a destination array with a length that matches the Size of the collection you're copying.

This method will throw an exception if the number of elements in the source collection is greater than the length of the destination array specified in items.

If you are programming using Visual C++ component extensions (C++/CX) or JavaScript, you can make an IVectorView copy by calling the GetView method.

Applies to

See also