FileExtensionVector.IndexOf(String, UInt32) FileExtensionVector.IndexOf(String, UInt32) FileExtensionVector.IndexOf(String, UInt32) FileExtensionVector.IndexOf(String, UInt32) FileExtensionVector.IndexOf(String, UInt32) Method

Definition

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

public : Platform::Boolean IndexOf(Platform::String value, unsigned int index)
bool IndexOf(winrt::hstring value, uint32_t const& index) const;
public bool IndexOf(String value, UInt32 index)
Public Function IndexOf(value As String, index As UInt32) As bool
var bool = fileExtensionVector.indexOf(value, index);

Parameters

value
String String String

The file name extension to find in the collection.

index
UInt32 UInt32 UInt32

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

bool bool bool

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