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