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 , если элемент найден. Метод возвращает ноль, если элемент не найден.

Возвращаемое значение

Boolean

bool

Логическое значение true, если найден квалификатор языка ResourceContext; в противном случае — 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@)

Применяется к