PrincipalValueCollection<T>.IndexOf(T) Método

Definição

Retorna o índice do objeto especificado ou -1, se o objeto não estiver na coleção.

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

Parâmetros

value
T

O objeto cujo índice é necessário.

Retornos

Um integer.

Implementações

Comentários

Lança um ArgumentNullException se value é null.

Aplica-se a