다음을 통해 공유


ResourceContextLanguagesVectorView.IndexOf(String, UInt32) 메서드

정의

집합에서 지정된 ResourceContext 언어 한정자의 인덱스 를 반환합니다.

public:
 virtual bool IndexOf(Platform::String ^ value, [Out] unsigned int & index) = IVectorView<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

집합에서 찾을 ResourceContext 언어 한정자입니다.

index
UInt32

unsigned int

uint32_t

항목이 있는 경우 ResourceContext 언어 한정자의 인덱스(0부터 시작)입니다. 항목을 찾을 수 없는 경우 메서드는 0을 반환합니다.

반환

Boolean

bool

ResourceContext 언어 한정자를 찾은 경우 TRUE부울입니다. 그렇지 않으면 FALSE입니다.

구현

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

적용 대상