TableRowCollection.IList.Contains(Object) Método

Definição

Determina se o formato especificado está contido na coleção.Determines whether the specified object is contained within the collection.

 virtual bool System.Collections.IList.Contains(System::Object ^ o) = System::Collections::IList::Contains;
bool IList.Contains (object o);
abstract member System.Collections.IList.Contains : obj -> bool
override this.System.Collections.IList.Contains : obj -> bool
Function Contains (o As Object) As Boolean Implements IList.Contains

Parâmetros

o
Object

O objeto a ser localizado na coleção.The object to locate within the collection.

Retornos

Boolean

true se o objeto estiver na coleção; caso contrário, false.true if the object is in the collection; otherwise, false.

Implementações

Comentários

O IList.Contains método é uma implementação de membro de interface explícita.The IList.Contains method is an explicit interface member implementation. Ele só pode ser usado quando a instância de TableRowCollection é convertida em uma interface de IList.It can be used only when the TableRowCollection instance is cast to an IList interface.

Aplica-se a

Confira também