Class WorkingTimeCollection

Class WorkingTimeCollection

اسم الفضاء : Aspose.Tasks تجميع: Aspose.Tasks.dll (25.4.0)

يمثل مجموعة من الأشياء Aspose.Tasks.WorkingTimeCollection.

public class WorkingTimeCollection : IList<workingtime>, ICollection<workingtime>, IEnumerable<workingtime>, IEnumerable

Inheritance

object WorkingTimeCollection

Implements

IList , ICollection , IEnumerable , IEnumerable

الأعضاء الموروثين

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Properties

Count

يحصل على عدد الكائنات الموجودة في هذا الكائن Aspose.Tasks.WorkingTimeCollection.

public int Count { get; }

قيمة الممتلكات

int

هذا[إنت]

يعود العنصر إلى المؤشر المحدد.

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

قيمة الممتلكات

WorkingTime

Methods

Add(WorkingTime)

إضافة مثال جديد WorkingTime إلى هذه المجموعة.

public bool Add(WorkingTime item)

Parameters

item WorkingTime

العنصر الذي يجب إضافته.

Returns

bool

صحيح إذا تم إضافة كائن WorkingTime بنجاح ؛ خلاف ذلك ، كاذب.

Clear()

إزالة جميع Aspose.Tasks.WorkingTime العناصر من المجموعة.

public void Clear()

Contains(WorkingTime)

التحقق مما إذا كان العنصر المحدد في القائمة.إجراء بحث خطي O(n)

public bool Contains(WorkingTime item)

Parameters

item WorkingTime

العنصر المحدد .

Returns

bool

صحيح ، إذا تم العثور على العنصر المحدد في القائمة ، فليس كذلك.

CopyTo(WorkingTime[ ]إنت)

نسخ محتوى مجموعة إلى Array ، بدءًا من مؤشر معين

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

Parameters

array WorkingTime [ ]

إرسال رسالة إلى نسخ.

arrayIndex int

بدء مؤشر Array

GetEnumerator()

إرجاع قائمة لهذا المجموعة.

public IEnumerator<workingtime> GetEnumerator()

Returns

IEnumerator &lt؛ WorkingTime >

قائمة لهذا المجموعة.

Remove(WorkingTime)

إزالة Aspose.Tasks.WorkingTime المثال من هذه المجموعة.

public bool Remove(WorkingTime item)

Parameters

item WorkingTime

المادة التي يجب إزالتها.

Returns

bool

صحيح إذا تم إزالة مثال WorkingTime بنجاح من هذه المجموعة ؛ خلاف ذلك ، وهمية.

ToList()

تحويل كائن WorkingTimeCollection إلى قائمة بأجسام Aspose.Tasks.WorkingTime.

public List<workingtime> ToList()

Returns

List &lt؛ WorkingTime >

قائمة الأشياء Aspose.Tasks.WorkingTime.

 عربي