BlockCollection.IndexOf(Block, UInt32) Method

Definition

Retrieves the index of the specified item.

C#
public bool IndexOf(Block value, out uint index);

Parameters

value
Block

The value to find in the collection.

index
UInt32

The index of the item to find, if found.

Returns

Boolean

true if an item with the specified value was found; otherwise, false.

Implements

M:Windows.Foundation.Collections.IVector1.IndexOf(0,System.UInt32@)

Applies to

Produkt Verzie
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6