CommentCollection
Contenuti
[
Nascondere
]CommentCollection class
Incapsula una raccolta diComment oggetti.
public class CommentCollection : CollectionBase<Comment>
Proprietà
| Nome | Descrizione |
|---|---|
| Capacity { get; set; } | |
| Count { get; } | |
| Item { get; } | Ottiene ilComment elemento all’indice specificato. (3 indexers) |
| Item { get; set; } |
Metodi
| Nome | Descrizione |
|---|---|
| Add(string) | Aggiunge un commento alla raccolta. |
| Add(int, int) | Aggiunge un commento alla raccolta. |
| AddThreadedComment(string, string, ThreadedCommentAuthor) | Aggiunge un commento in thread. |
| AddThreadedComment(int, int, string, ThreadedCommentAuthor) | Aggiunge un commento in thread. |
| BinarySearch(Comment) | |
| BinarySearch(Comment, IComparer<Comment>) | |
| BinarySearch(int, int, Comment, IComparer<Comment>) | |
| Clear() | Rimuove tutti i commenti; (2 methods) |
| Contains(Comment) | |
| CopyTo(Comment[]) | |
| CopyTo(Comment[], int) | |
| CopyTo(int, Comment[], int, int) | |
| Exists(Predicate<Comment>) | |
| Find(Predicate<Comment>) | |
| FindAll(Predicate<Comment>) | |
| FindIndex(Predicate<Comment>) | |
| FindIndex(int, Predicate<Comment>) | |
| FindIndex(int, int, Predicate<Comment>) | |
| FindLast(Predicate<Comment>) | |
| FindLastIndex(Predicate<Comment>) | |
| FindLastIndex(int, Predicate<Comment>) | |
| FindLastIndex(int, int, Predicate<Comment>) | |
| GetEnumerator() | |
| GetThreadedComments(string) | Ottiene i commenti in thread in base al nome della cella. |
| GetThreadedComments(int, int) | Ottiene i commenti in thread per riga e indice di colonna. |
| IndexOf(Comment) | |
| IndexOf(Comment, int) | |
| IndexOf(Comment, int, int) | |
| LastIndexOf(Comment) | |
| LastIndexOf(Comment, int) | |
| LastIndexOf(Comment, int, int) | |
| RemoveAt(int) | |
| RemoveAt(string) | Rimuove il commento della cella specifica. |
| RemoveAt(int, int) | Rimuove il commento della cella specifica. |
Esempi
[C#]
Workbook workbook = new Workbook();
CommentCollection comments = workbook.Worksheets[0].Comments;
//fai i tuoi affari
[Visual Basic]
Dim workbook as Workbook = new Workbook()
Dim comments as CommentCollection = workbook.Worksheets(0).Comments
Guarda anche
- class CollectionBase<T>
- class Comment
- spazio dei nomi Aspose.Cells
- assemblea Aspose.Cells