다음을 통해 공유


HttpCacheDirectiveHeaderValueCollection.IndexOf 메서드

정의

컬렉션에서 HttpNameValueHeaderValue 의 인덱스를 검색합니다.

public:
 virtual bool IndexOf(HttpNameValueHeaderValue ^ value, [Out] unsigned int & index) = IVector<HttpNameValueHeaderValue ^>::IndexOf;
bool IndexOf(HttpNameValueHeaderValue const& value, [Out] uint32_t & index);
public bool IndexOf(HttpNameValueHeaderValue value, out uint index);
Public Function IndexOf (value As HttpNameValueHeaderValue, ByRef index As UInteger) As Boolean

매개 변수

index
UInt32

unsigned int

uint32_t

HttpCacheDirectiveHeaderValueCollectionHttpNameValueHeaderValue 인덱스입니다.

항목이 발견되면 항목의 인덱스(0부터 시작)입니다. 그렇지 않으면 이 매개 변수는 0입니다.

반환

Boolean

bool

항목을 찾을 수 있는지 여부를 나타냅니다.

HttpNameValueHeaderValue 항목이 있으면 true이고, 그렇지 않으면 false입니다.

구현

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

적용 대상