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)创建并返回一个包含指定范围内所有评论的数组。

另请参见