Class OutlineCodeCollection

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

الوراثة

objectOutlineCodeCollection

ينفذ

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; }

قيمة الخاصية

int

IsReadOnly

يحصل على قيمة تشير إلى ما إذا كانت هذه المجموعة للقراءة فقط؛ خلاف ذلك، false.

public bool IsReadOnly { get; }

قيمة الخاصية

bool

this[int]

يعيد أو يحدد العنصر في الفهرس المحدد.

public OutlineCode this[int index] { get; set; }

قيمة الخاصية

OutlineCode

الطرق

Add(OutlineCode)

يضيف العنصر المحدد إلى هذه المجموعة.

public void Add(OutlineCode item)

المعلمات

item OutlineCode

العنصر المحدد لإضافته إلى هذه المجموعة.

Clear()

يزيل جميع العناصر من هذه المجموعة.

public void Clear()

Contains(OutlineCode)

يعيد true إذا تم العثور على العنصر المحدد في هذه المجموعة؛ خلاف ذلك، false.

public bool Contains(OutlineCode item)

المعلمات

item OutlineCode

العنصر المحدد للبحث عنه.

يعيد

bool

true إذا تم العثور على العنصر المحدد في هذه المجموعة؛ خلاف ذلك، false.

CopyTo(OutlineCode[], int)

ينسخ عناصر هذه المجموعة إلى المصفوفة المحددة، بدءًا من فهرس المصفوفة المحدد.

public void CopyTo(OutlineCode[] array, int arrayIndex)

المعلمات

array OutlineCode[]

المصفوفة الأحادية البعد المحددة لنسخ العناصر إليها

arrayIndex int

الفهرس القائم على الصفر للمصفوفة المحددة التي يبدأ النسخ منها.

GetEnumerator()

يعيد عدادًا لهذه المجموعة.

public IEnumerator<outlinecode> GetEnumerator()

يعيد

IEnumerator<OutlineCode&gt;

عدادًا لهذه المجموعة.

IndexOf(OutlineCode)

يحدد فهرس العنصر المحدد في هذه المجموعة.

public int IndexOf(OutlineCode item)

المعلمات

item OutlineCode

العنصر المحدد لتحديد موقعه في هذه المجموعة.

يعيد

int

فهرس العنصر المحدد إذا تم العثور عليه؛ خلاف ذلك، -1.

Insert(int, OutlineCode)

يُدخل العنصر المحدد في الفهرس المحدد.

public void Insert(int index, OutlineCode item)

المعلمات

index int

الفهرس القائم على الصفر المحدد الذي يجب إدخال العنصر فيه.

item OutlineCode

العنصر المحدد لإدراجه في هذه المجموعة.

Remove(OutlineCode)

يزيل أول ظهور لكائن محدد من هذه المجموعة.

public bool Remove(OutlineCode item)

المعلمات

item OutlineCode

الكائن المحدد لإزالته.

يعيد

bool

true إذا تم إزالة الكائن المحدد بنجاح من هذه المجموعة؛ خلاف ذلك، false.

RemoveAt(int)

يزيل عنصرًا في الفهرس المحدد.

public void RemoveAt(int index)

المعلمات

index int

الفهرس القائم على الصفر المحدد لإزالة عنصر عنده.

 عربي