ICommentAuthorCollection

ICommentAuthorCollection 接口

表示评论作者的集合。

public interface ICommentAuthorCollection : IGenericCollection<ICommentAuthor>

属性

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

方法

名称描述
AddAuthor(string, string)在集合的末尾添加新作者。
Clear()从集合中移除所有作者。
FindByName(string)按名称在集合中查找作者。
FindByNameAndInitials(string, string)按名称和首字母在集合中查找作者。
Remove(ICommentAuthor)移除集合中指定作者的第一次出现。
RemoveAt(int)移除集合中指定索引处的作者。
ToArray()创建并返回包含所有作者的数组。

相关内容