BoundsCheckableList1.Remove

BoundsCheckableList<T>.Remove method

تزيل أول ظهور لكائن معين من System.Collections.Generic.List.

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

Return Value

true إذا تم إزالة item بنجاح؛ وإلا، false. هذه الطريقة أيضًا تعيد false إذا لم يتم العثور على item في System.Collections.Generic.List.

See Also