Class OutlineCodeCollection
Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.2.0)
يمثل مجموعة من كائنات Aspose.Tasks.OutlineCode.
public class OutlineCodeCollection : IList<outlinecode>, ICollection<outlinecode>, IEnumerable<outlinecode>, IEnumerable
الوراثة
object ← OutlineCodeCollection
ينفذ
IList<outlinecode>, ICollection<outlinecode>, IEnumerable<outlinecode>, IEnumerable
الأعضاء الموروثة
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
الخصائص
العدد
يحصل على عدد العناصر الموجودة في هذه المجموعة.
public int Count { get; }
قيمة الخاصية
IsReadOnly
يحصل على قيمة تشير إلى ما إذا كانت هذه المجموعة للقراءة فقط؛ خلاف ذلك، false.
public bool IsReadOnly { get; }
قيمة الخاصية
this[int]
يعيد أو يحدد العنصر في الفهرس المحدد.
public OutlineCode this[int index] { get; set; }
قيمة الخاصية
الطرق
Add(OutlineCode)
يضيف العنصر المحدد إلى هذه المجموعة.
public void Add(OutlineCode item)
المعلمات
item
OutlineCode
العنصر المحدد لإضافته إلى هذه المجموعة.
Clear()
يزيل جميع العناصر من هذه المجموعة.
public void Clear()
Contains(OutlineCode)
يعيد true إذا تم العثور على العنصر المحدد في هذه المجموعة؛ خلاف ذلك، false.
public bool Contains(OutlineCode item)
المعلمات
item
OutlineCode
العنصر المحدد للبحث عنه.
يعيد
true إذا تم العثور على العنصر المحدد في هذه المجموعة؛ خلاف ذلك، false.
CopyTo(OutlineCode[], int)
ينسخ عناصر هذه المجموعة إلى المصفوفة المحددة، بدءًا من فهرس المصفوفة المحدد.
public void CopyTo(OutlineCode[] array, int arrayIndex)
المعلمات
array
OutlineCode[]
المصفوفة الأحادية البعد المحددة لنسخ العناصر إليها
arrayIndex
int
الفهرس القائم على الصفر للمصفوفة المحددة التي يبدأ النسخ منها.
GetEnumerator()
يعيد عدادًا لهذه المجموعة.
public IEnumerator<outlinecode> GetEnumerator()
يعيد
عدادًا لهذه المجموعة.
IndexOf(OutlineCode)
يحدد فهرس العنصر المحدد في هذه المجموعة.
public int IndexOf(OutlineCode item)
المعلمات
item
OutlineCode
العنصر المحدد لتحديد موقعه في هذه المجموعة.
يعيد
فهرس العنصر المحدد إذا تم العثور عليه؛ خلاف ذلك، -1.
Insert(int, OutlineCode)
يُدخل العنصر المحدد في الفهرس المحدد.
public void Insert(int index, OutlineCode item)
المعلمات
index
int
الفهرس القائم على الصفر المحدد الذي يجب إدخال العنصر فيه.
item
OutlineCode
العنصر المحدد لإدراجه في هذه المجموعة.
Remove(OutlineCode)
يزيل أول ظهور لكائن محدد من هذه المجموعة.
public bool Remove(OutlineCode item)
المعلمات
item
OutlineCode
الكائن المحدد لإزالته.
يعيد
true إذا تم إزالة الكائن المحدد بنجاح من هذه المجموعة؛ خلاف ذلك، false.
RemoveAt(int)
يزيل عنصرًا في الفهرس المحدد.
public void RemoveAt(int index)
المعلمات
index
int
الفهرس القائم على الصفر المحدد لإزالة عنصر عنده.