ICommentCollection

ICommentCollection 接口

表示单个作者的评论集合。

public interface ICommentCollection : IGenericCollection<IComment>

属性

名称描述
Item { get; }获取指定索引处的元素。只读 IComment

方法

名称描述
AddComment(string, ISlide, PointF, DateTime)在集合末尾添加新评论。
AddModernComment(string, ISlide, IShape, PointF, DateTime)在集合末尾添加新的现代评论。
Clear()从集合中移除所有评论。
InsertComment(int, string, ISlide, PointF, DateTime)在指定索引处向集合插入新评论。
InsertModernComment(int, string, ISlide, IShape, PointF, DateTime)在指定索引处向集合插入新的现代评论。
Remove(IComment)从集合中移除指定评论的第一次出现。
RemoveAt(int)从集合中移除指定索引处的元素。
ToArray()创建并返回包含所有评论的数组。
ToArray(int, int)创建并返回指定范围内所有评论的数组。

另见