CommentCollection
Contenido
[
Ocultar
]CommentCollection class
Encapsula una colección deComment
objetos.
public class CommentCollection : CollectionBase<Comment>
Propiedades
Nombre | Descripción |
---|---|
Capacity { get; set; } | |
Count { get; } | |
Item { get; } | Obtiene elComment elemento en el índice especificado. (3 indexers) |
Item { get; set; } |
Métodos
Nombre | Descripción |
---|---|
Add(string) | Agrega un comentario a la colección. |
Add(int, int) | Agrega un comentario a la colección. |
AddThreadedComment(string, string, ThreadedCommentAuthor) | Agrega un comentario encadenado. |
AddThreadedComment(int, int, string, ThreadedCommentAuthor) | Agrega un comentario encadenado. |
BinarySearch(Comment) | |
BinarySearch(Comment, IComparer<Comment>) | |
BinarySearch(int, int, Comment, IComparer<Comment>) | |
Clear() | Elimina todos los comentarios; (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) | Obtiene los comentarios encadenados por nombre de celda. |
GetThreadedComments(int, int) | Obtiene los comentarios encadenados por índice de fila y columna. |
IndexOf(Comment) | |
IndexOf(Comment, int) | |
IndexOf(Comment, int, int) | |
LastIndexOf(Comment) | |
LastIndexOf(Comment, int) | |
LastIndexOf(Comment, int, int) | |
RemoveAt(int) | |
RemoveAt(string) | Elimina el comentario de la celda específica. |
RemoveAt(int, int) | Elimina el comentario de la celda específica. |
Ejemplos
[C#]
Workbook workbook = new Workbook();
CommentCollection comments = workbook.Worksheets[0].Comments;
//haz tu negocio
[Visual Basic]
Dim workbook as Workbook = new Workbook()
Dim comments as CommentCollection = workbook.Worksheets(0).Comments
Ver también
- class CollectionBase<T>
- class Comment
- espacio de nombres Aspose.Cells
- asamblea Aspose.Cells