Jaa


FileExtensionVector.IndexOf(String, UInt32) Method

Definition

Retrieves the index of a specified file name extension in the collection.

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

Parameters

value
String

Platform::String

winrt::hstring

The file name extension to find in the collection.

index
UInt32

unsigned int

uint32_t

The zero-based index of the file name extension if found. This parameter is set to zero if the file name extension is not found.

Returns

Boolean

bool

True if the file name extension is found; otherwise FALSE.

Implements

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

Applies to