Share via


FileExtensionVector.IndexOf(String, UInt32) 메서드

정의

컬렉션에서 지정된 파일 이름 확장 프로그램의 인덱스를 검색합니다.

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

매개 변수

value
String

Platform::String

winrt::hstring

컬렉션에서 찾을 파일 이름 확장명입니다.

index
UInt32

unsigned int

uint32_t

파일 이름 확장명(있는 경우)의 인덱스(0부터 시작)입니다. 파일 이름 확장명을 찾을 수 없는 경우 이 매개 변수는 0으로 설정됩니다.

반환

Boolean

bool

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@)

적용 대상