ResourceContextLanguagesVectorView.IndexOf(String, UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the index of a specified ResourceContext language qualifier in the set.
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
Parameters
- value
-
String
Platform::String
winrt::hstring
The ResourceContext language qualifier to find in the set.
- index
-
UInt32
unsigned int
uint32_t
The zero-based index of the ResourceContext language qualifier, if the item is found. The method returns zero if the item is not found.
Returns
bool
A Boolean that is TRUE if the ResourceContext language qualifier is found; otherwise, FALSE.
Implements
1.IndexOf(
0,System.UInt32@)
M:Windows.Foundation.Collections.IVectorView1.IndexOf(
0,unsigned int@)
M:Windows.Foundation.Collections.IVectorView1.IndexOf(
0,uint32_t@)