PersonCollection
PersonCollection
סקירה כללית
PersonCollection היא מחלקה ב-Aspose.Words FOSS עבור .NET. יורשת מ-: Contributor, IEnumerable<Person>.
מייצגת רשימת אנשים שהם תורמי מקור ביבליוגרפיים.
מחלקה זו מספקת 9 שיטות לעבודה עם עצמים מסוג PersonCollection בתוכניות .NET. השיטות הזמינות כוללות: Add, Clear, Contains, GetEnumerator, PersonCollection, Remove, RemoveAt. כל החברים הציבוריים נגישים לכל יישום .NET לאחר התקנת חבילת Aspose.Words FOSS עבור .NET. מאפיינים: Count.
מאפיינים
| שם | סוג | גישה | תיאור |
|---|---|---|---|
Count | int | קריאה | מקבל את מספר האנשים שנמצאים באוסף. |
שיטות
| חתימה | תיאור |
|---|---|
PersonCollection() | אתחל מופע חדש של המחלקה PersonCollection. |
PersonCollection(persons: IEnumerable<Person>) | אתחל מופע חדש של המחלקה PersonCollection. |
PersonCollection(persons) | אתחל מופע חדש של המחלקה PersonCollection. |
Add(person: Person) | מוסיף אדם לאוסף. |
Remove(person: Person) | מסיר את האדם מהאוסף. |
RemoveAt(index: int) | מסיר את האדם באינדקס שצוין. |
Clear() | מסיר את כל הפריטים מהאוסף. |
Contains(person: Person) | קובע האם האוסף מכיל אדם ספציפי. |
GetEnumerator() → IEnumerator<Person> | מחזיר את המאתר. |