BoundsCheckableList1.Contains

BoundsCheckableList<T>.Contains metod

Bestämmer om ett element finns i System.Collections.Generic.List.

public bool Contains(T item)
ParameterTypBeskrivning
itemTObjektet som ska lokaliseras i System.Collections.Generic.List. Värdet kan vara null för referenstyper.

Returvärde

true om item hittas i System.Collections.Generic.List; annars, false.

Se Även