SynchronizedReadOnlyCollection<T>.IList.Contains(Object) Método

Definição

Verifica se o objeto especificado existe na coleção.Checks whether the specified object exists in the collection.

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

Parâmetros

value
Object

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

Retornos

Boolean

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

Implementações

Exceções

value não é um objeto do tipo contido na coleção.value is not an object of the type contained in the collection.

Aplica-se a