Class BoundsCheckableListT

BoundsCheckableList<T> class

يمثل BoundsCheckableList - غلاف حول System.Collections.Generic.List.

public class BoundsCheckableList<T> : IList<T>
    where T : IBoundsCheckableItem

Constructors

NameDescription
BoundsCheckableList()يقوم بتهيئة مثيل جديد من فئة BoundsCheckableList.
BoundsCheckableList(BoundsCheckMode, double, double)يقوم بتهيئة مثيل جديد من فئة BoundsCheckableList.

Properties

NameDescription
Count { get; }يحصل على عدد العناصر الموجودة في System.Collections.Generic.List.
IsReadOnly { get; }يحصل على القيمة التي تشير إلى ما إذا كانت المجموعة للقراءة فقط.
Item { get; set; }يحصل على فقرة من أو إلى المجموعة أو يحددها.

Methods

NameDescription
Add(T)يضيف كائنًا إلى نهاية System.Collections.Generic.List اعتمادًا على معلمة “boundsCheckMode”.
Clear()يزيل جميع العناصر من System.Collections.Generic.List.
Contains(T)يحدد ما إذا كان عنصر موجودًا في System.Collections.Generic.List.
CopyTo(T[], int)
GetEnumerator()يعيد عدادًا يتكرر عبر System.Collections.Generic.List.
IndexOf(T)يبحث عن الكائن المحدد ويعيد الفهرس القائم على الصفر لأول ظهور ضمن System.Collections.Generic.List بالكامل.
Insert(int, T)يُدخل عنصرًا في System.Collections.Generic.List عند الفهرس المحدد.
Remove(T)يزيل أول ظهور لكائن محدد من System.Collections.Generic.List.
RemoveAt(int)يزيل العنصر عند الفهرس المحدد من System.Collections.Generic.List.
UpdateBoundsCheckMode(BoundsCheckMode)يقوم بتحديث معلمة boundsCheckMode للمجموعة المهيأة.
UpdateBoundsCheckMode(BoundsCheckMode, double, double)يقوم بتحديث معلمة boundsCheckMode للمجموعة المهيأة.

See Also