Share via


HttpChallengeHeaderValueCollection.GetMany 메서드

정의

컬렉션의 지정된 인덱스에서 시작하는 HttpChallengeHeaderValue 항목을 검색합니다.

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

매개 변수

startIndex
UInt32

unsigned int

uint32_t

HttpChallengeHeaderValueCollection에서 HttpChallengeHeaderValue 항목 시작의 인덱스(0부터 시작)입니다.

items
HttpChallengeHeaderValue[]

HttpChallengeHeaderValueCollectionstartIndex에서 시작하는 HttpChallengeHeaderValue 항목의 배열입니다.

반환

UInt32

unsigned int

uint32_t

검색된 HttpChallengeHeaderValue 항목의 수입니다.

구현

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

설명

요소는 열거자가 컬렉션을 반복하는 순서와 동일한 순서로 배열에 복사됩니다. 복사하는 컬렉션의 크기와 일치하는 길이로 대상 배열을 만든 컬렉션 항목의 간단한 복사본만 만드는 경우 startIndex를 0으로 지정하는 것이 일반적입니다.

소스 컬렉션의 요소 수가 항목에 지정된 대상 배열의 길이보다 큰 경우 이 메서드는 예외를 throw 합니다.

Visual C++ 구성 요소 확장(C++/CX) 또는 JavaScript를 사용하여 프로그래밍하는 경우 GetView 메서드를 호출하여 IVectorView 복사본을 만들 수 있습니다.

적용 대상

추가 정보