Class ExtendedAttributeCollection
Namespace: Aspose.Tasks
Assembly: Aspose.Tasks.dll (25.2.0)
מייצג אוסף של אובייקטי Aspose.Tasks.ExtendedAttribute.
public class ExtendedAttributeCollection : IList<extendedattribute>, ICollection<extendedattribute>, IEnumerable<extendedattribute>, IEnumerable
ירושה
object ← ExtendedAttributeCollection
מיישם
IList<extendedattribute>, ICollection<extendedattribute>, IEnumerable<extendedattribute>, 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
מקבל ערך המצביע אם אוסף זה הוא לקריאה בלבד; אחרת, false.
public bool IsReadOnly { get; }
ערך המאפיין
this[int]
מקבל או קובע את האלמנט באינדקס המצויין.
public ExtendedAttribute this[int index] { get; set; }
ערך המאפיין
שיטות
Add(ExtendedAttribute)
מוסיף את הפריט המצויין לאוסף זה.
public void Add(ExtendedAttribute item)
פרמטרים
item
ExtendedAttribute
הפריט המצויין להוסיף לאוסף זה.
Clear()
מנקה את כל הפריטים מאוסף זה.
public void Clear()
Contains(ExtendedAttribute)
מחזיר true אם הפריט המצויין נמצא באוסף זה; אחרת, false.
public bool Contains(ExtendedAttribute item)
פרמטרים
item
ExtendedAttribute
הפריט המצויין לחיפוש.
מחזיר
true אם הפריט המצויין נמצא באוסף זה; אחרת, false.
CopyTo(ExtendedAttribute[], int)
מעתיק את האלמנטים של אוסף זה למערך המצויין, החל באינדקס המערך המצויין.
public void CopyTo(ExtendedAttribute[] array, int arrayIndex)
פרמטרים
array
ExtendedAttribute[]
המערך החד-ממדי המצויין להעתיק אליו את האלמנטים
arrayIndex
int
האינדקס המבוסס על אפס של המערך המצויין שבו מתחילה ההעתקה.
GetEnumerator()
מחזיר Enumerator עבור אוסף זה.
public IEnumerator<extendedattribute> GetEnumerator()
מחזיר
IEnumerator<ExtendedAttribute>
Enumerator עבור אוסף זה.
IndexOf(ExtendedAttribute)
קובע את האינדקס של הפריט המצויין באוסף זה.
public int IndexOf(ExtendedAttribute item)
פרמטרים
item
ExtendedAttribute
הפריט המצויין לאיתור באוסף זה.
מחזיר
האינדקס של הפריט המצויין אם נמצא; אחרת, -1.
Insert(int, ExtendedAttribute)
מכניס את הפריט המצויין באינדקס המצויין.
public void Insert(int index, ExtendedAttribute item)
פרמטרים
index
int
האינדקס המבוסס על אפס שבו יש להכניס את הפריט.
item
ExtendedAttribute
הפריט המצויין להכניס לאוסף זה.
Remove(ExtendedAttribute)
מסיר את ההתרחשות הראשונה של אובייקט ספציפי מאוסף זה.
public bool Remove(ExtendedAttribute item)
פרמטרים
item
ExtendedAttribute
האובייקט המצויין להסרה.
מחזיר
true אם האובייקט המצויין הוסר בהצלחה מאוסף זה; אחרת, false.
RemoveAt(int)
מסיר פריט באינדקס המצויין.
public void RemoveAt(int index)
פרמטרים
index
int
האינדקס המבוסס על אפס להסרת פריט בו.