IVectorView<T>.IndexOf(T, UInt32) IVectorView<T>.IndexOf(T, UInt32) IVectorView<T>.IndexOf(T, UInt32) IVectorView<T>.IndexOf(T, UInt32) IVectorView<T>.IndexOf(T, UInt32) Method

Definition

Retrieves the index of a specified item in the vector view.

public : Platform::Boolean IndexOf(T value, unsigned int index)
bool IndexOf(T value, uint32_t const& index) const;
public bool IndexOf(T value, UInt32 index)
Public Function IndexOf(value As T, index As UInt32) As bool
var bool = iVectorView`1.indexOf(value, index);

Parameters

value
T T T

The item to find in the vector view.

index
UInt32 UInt32 UInt32

If the item is found, this is the zero-based index of the item; otherwise, this parameter is 0.

Returns

bool bool bool

true if the item is found; otherwise, false.

Remarks

When programming with .NET, this interface is hidden and developers should use the interface.

See also