## CommentCollection class

لتغليف مجموعة من[`Comment`](../comment) الكائنات .

```csharp
public class CommentCollection : CollectionBase<Comment>
```

## الخصائص

| اسم | وصف |
| --- | --- |
| [Capacity](../../aspose.cells/collectionbase`1/capacity) { get; set; } |  |
| [Count](../../aspose.cells/collectionbase`1/count) { get; } |  |
| [Item](../../aspose.cells/commentcollection/item) { get; } | يحصل على ملف[`Comment`](../comment) عنصر في الفهرس المحدد. (3 indexers) |
| [Item](../../aspose.cells/collectionbase`1/item) { get; set; } |  |

## طُرق

| اسم | وصف |
| --- | --- |
| [Add](../../aspose.cells/commentcollection/add#add_1)(string) | يضيف تعليقًا إلى المجموعة . |
| [Add](../../aspose.cells/commentcollection/add#add)(int, int) | يضيف تعليقًا إلى المجموعة . |
| [AddThreadedComment](../../aspose.cells/commentcollection/addthreadedcomment#addthreadedcomment_1)(string, string, ThreadedCommentAuthor) | يضيف تعليقًا مترابطًا . |
| [AddThreadedComment](../../aspose.cells/commentcollection/addthreadedcomment#addthreadedcomment)(int, int, string, ThreadedCommentAuthor) | يضيف تعليقًا مترابطًا . |
| [BinarySearch](../../aspose.cells/collectionbase`1/binarysearch)(Comment) |  |
| [BinarySearch](../../aspose.cells/collectionbase`1/binarysearch)(Comment, IComparer&lt;Comment&gt;) |  |
| [BinarySearch](../../aspose.cells/collectionbase`1/binarysearch)(int, int, Comment, IComparer&lt;Comment&gt;) |  |
| [Clear](../../aspose.cells/commentcollection/clear#clear)() | إزالة كافة التعليقات (2 methods) |
| [Contains](../../aspose.cells/collectionbase`1/contains)(Comment) |  |
| [CopyTo](../../aspose.cells/collectionbase`1/copyto)(Comment[]) |  |
| [CopyTo](../../aspose.cells/collectionbase`1/copyto)(Comment[], int) |  |
| [CopyTo](../../aspose.cells/collectionbase`1/copyto)(int, Comment[], int, int) |  |
| [Exists](../../aspose.cells/collectionbase`1/exists)(Predicate&lt;Comment&gt;) |  |
| [Find](../../aspose.cells/collectionbase`1/find)(Predicate&lt;Comment&gt;) |  |
| [FindAll](../../aspose.cells/collectionbase`1/findall)(Predicate&lt;Comment&gt;) |  |
| [FindIndex](../../aspose.cells/collectionbase`1/findindex)(Predicate&lt;Comment&gt;) |  |
| [FindIndex](../../aspose.cells/collectionbase`1/findindex)(int, Predicate&lt;Comment&gt;) |  |
| [FindIndex](../../aspose.cells/collectionbase`1/findindex)(int, int, Predicate&lt;Comment&gt;) |  |
| [FindLast](../../aspose.cells/collectionbase`1/findlast)(Predicate&lt;Comment&gt;) |  |
| [FindLastIndex](../../aspose.cells/collectionbase`1/findlastindex)(Predicate&lt;Comment&gt;) |  |
| [FindLastIndex](../../aspose.cells/collectionbase`1/findlastindex)(int, Predicate&lt;Comment&gt;) |  |
| [FindLastIndex](../../aspose.cells/collectionbase`1/findlastindex)(int, int, Predicate&lt;Comment&gt;) |  |
| [GetEnumerator](../../aspose.cells/collectionbase`1/getenumerator)() |  |
| [GetThreadedComments](../../aspose.cells/commentcollection/getthreadedcomments#getthreadedcomments_1)(string) | الحصول على التعليقات المترابطة حسب اسم الخلية. |
| [GetThreadedComments](../../aspose.cells/commentcollection/getthreadedcomments#getthreadedcomments)(int, int) | الحصول على التعليقات المترابطة حسب فهرس الصف والعمود. |
| [IndexOf](../../aspose.cells/collectionbase`1/indexof)(Comment) |  |
| [IndexOf](../../aspose.cells/collectionbase`1/indexof)(Comment, int) |  |
| [IndexOf](../../aspose.cells/collectionbase`1/indexof)(Comment, int, int) |  |
| [LastIndexOf](../../aspose.cells/collectionbase`1/lastindexof)(Comment) |  |
| [LastIndexOf](../../aspose.cells/collectionbase`1/lastindexof)(Comment, int) |  |
| [LastIndexOf](../../aspose.cells/collectionbase`1/lastindexof)(Comment, int, int) |  |
| [RemoveAt](../../aspose.cells/collectionbase`1/removeat)(int) |  |
| [RemoveAt](../../aspose.cells/commentcollection/removeat#removeat_2)(string) | يزيل تعليق الخلية المحددة. |
| [RemoveAt](../../aspose.cells/commentcollection/removeat#removeat_1)(int, int) | يزيل تعليق الخلية المحددة. |

### أمثلة

```csharp
[C#]

Workbook workbook = new Workbook();

CommentCollection comments = workbook.Worksheets[0].Comments;

// قم بعملك

[Visual Basic]

Dim workbook as Workbook = new Workbook()

Dim comments as CommentCollection = workbook.Worksheets(0).Comments
```

### أنظر أيضا

* class [CollectionBase&lt;T&gt;](../collectionbase-1)
* class [Comment](../comment)
* مساحة الاسم [Aspose.Cells](../../aspose.cells)
* المجسم [Aspose.Cells](../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Cells.dll -->
