BoundsCheckableList1.Contains

BoundsCheckableList<T>.Contains method

يحدد ما إذا كان العنصر موجودًا في System.Collections.Generic.List.

public bool Contains(T item)
ParameterTypeDescription
itemTالكائن الذي سيتم تحديد موقعه في System.Collections.Generic.List. يمكن أن تكون القيمة null لأنواع المرجع.

Return Value

true إذا تم العثور على item في System.Collections.Generic.List؛ خلاف ذلك، false.

See Also