CompositionShapeCollection.IndexOf(CompositionShape, UInt32) CompositionShapeCollection.IndexOf(CompositionShape, UInt32) CompositionShapeCollection.IndexOf(CompositionShape, UInt32) CompositionShapeCollection.IndexOf(CompositionShape, UInt32) Method

Definition

Retrieves the index of the specified item.

public : Platform::Boolean IndexOf(CompositionShape value, unsigned int index)
bool IndexOf(CompositionShape value, uint32_t const& index) const;
public bool IndexOf(CompositionShape value, UInt32 index)
Public Function IndexOf(value As CompositionShape, index As UInt32) As bool

Parameters

value
CompositionShape CompositionShape

The value to find in the collection.

index
UInt32 UInt32

The index of the item to find, if found.

Returns

bool bool

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