CommentCollection
代表一个作者的评论集合。
public sealed class CommentCollection : DomObject<CommentAuthor>, ICommentCollection
Properties
Methods
| 名称 | 描述 |
|---|
| AddComment(string, ISlide, PointF, DateTime) | 在集合末尾添加新评论。 |
| AddModernComment(string, ISlide, IShape, PointF, DateTime) | 在集合末尾添加新现代评论。 |
| Clear() | 从集合中移除所有评论。 |
| CopyTo(Array, int) | 将集合中的所有元素复制到指定数组。 |
| FindCommentByIdx(int) | 通过索引在集合中查找评论。 |
| GetEnumerator() | 返回一个枚举器,用于迭代集合。 |
| InsertComment(int, string, ISlide, PointF, DateTime) | 在指定索引处将新评论插入集合。 |
| InsertModernComment(int, string, ISlide, IShape, PointF, DateTime) | 在指定索引处将新现代评论插入集合。 |
| Remove(IComment) | 移除集合中指定评论的第一次出现。 |
| RemoveAt(int) | 移除集合中指定索引处的元素。 |
| ToArray() | 创建并返回一个包含所有评论的数组。 |
| ToArray(int, int) | 创建并返回一个包含指定范围内所有评论的数组。 |
另见