ModelItemCollection.IList.Contains(Object) Método

Definição

Determina se ModelItemCollection contém o elemento especificado.Determines whether the ModelItemCollection contains the specified element.

 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 no ModelItemCollection.The object to locate in the ModelItemCollection.

Retornos

Boolean

true se o ModelItemCollection contiver um elemento com o valor especificado; caso contrário, false.true if the ModelItemCollection contains an element that has the specified value; otherwise, false.

Implementações

Exceções

value é null.value is null.

Aplica-se a