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