## CommentCollection class

Kapselt eine Sammlung von[`Comment`](../comment) Objekte.

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

## Eigenschaften

| Name | Beschreibung |
| --- | --- |
| [Capacity](../../aspose.cells/collectionbase`1/capacity) { get; set; } |  |
| [Count](../../aspose.cells/collectionbase`1/count) { get; } |  |
| [Item](../../aspose.cells/commentcollection/item) { get; } | Ruft die ab[`Comment`](../comment) Element am angegebenen Index. (3 indexers) |
| [Item](../../aspose.cells/collectionbase`1/item) { get; set; } |  |

## Methoden

| Name | Beschreibung |
| --- | --- |
| [Add](../../aspose.cells/commentcollection/add#add_1)(string) | Fügt der Sammlung einen Kommentar hinzu. |
| [Add](../../aspose.cells/commentcollection/add#add)(int, int) | Fügt der Sammlung einen Kommentar hinzu. |
| [AddThreadedComment](../../aspose.cells/commentcollection/addthreadedcomment#addthreadedcomment_1)(string, string, ThreadedCommentAuthor) | Fügt einen Thread-Kommentar hinzu. |
| [AddThreadedComment](../../aspose.cells/commentcollection/addthreadedcomment#addthreadedcomment)(int, int, string, ThreadedCommentAuthor) | Fügt einen Thread-Kommentar hinzu. |
| [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)() | Entfernt alle Kommentare; (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) | Ruft die Thread-Kommentare nach Zellenname ab. |
| [GetThreadedComments](../../aspose.cells/commentcollection/getthreadedcomments#getthreadedcomments)(int, int) | Ruft die Thread-Kommentare nach Zeilen- und Spaltenindex ab. |
| [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) | Entfernt den Kommentar der spezifischen Zelle. |
| [RemoveAt](../../aspose.cells/commentcollection/removeat#removeat_1)(int, int) | Entfernt den Kommentar der spezifischen Zelle. |

### Beispiele

```csharp
[C#]

Workbook workbook = new Workbook();

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

// Mach dein Geschäft

[Visual Basic]

Dim workbook as Workbook = new Workbook()

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

### Siehe auch

* class [CollectionBase&lt;T&gt;](../collectionbase-1)
* class [Comment](../comment)
* namensraum [Aspose.Cells](../../aspose.cells)
* Montage [Aspose.Cells](../../)

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