Share via


GeneratedEmbeddings<TEmbedding>.IndexOf(TEmbedding) Method

Definition

Determines the index of a specific item in the IList<T>.

public:
 virtual int IndexOf(TEmbedding item);
public int IndexOf (TEmbedding item);
abstract member IndexOf : 'Embedding -> int
override this.IndexOf : 'Embedding -> int
Public Function IndexOf (item As TEmbedding) As Integer

Parameters

item
TEmbedding

The object to locate in the IList<T>.

Returns

The index of item if found in the list; otherwise, -1.

Implements

Applies to