CommentAuthorCollection

CommentAuthorCollection class

表示评论作者的集合。

public sealed class CommentAuthorCollection : DomObject<Presentation>, ICommentAuthorCollection

Properties

NameDescription
Count { get; }获取实际包含在集合中的元素数量。只读 Int32。
IsSynchronized { get; }返回一个值,指示对集合的访问是否已同步(线程安全)。只读 Boolean。
Item { get; }获取指定索引处的元素。只读 ICommentAuthor
SyncRoot { get; }返回一个同步根。只读 Object。

Methods

NameDescription
AddAuthor(string, string)在集合的末尾添加新作者。
Clear()从集合中移除所有作者。
CopyTo(Array, int)将集合中的所有元素复制到指定数组。
FindByName(string)按名称在集合中查找作者。
FindByNameAndInitials(string, string)按名称和首字母在集合中查找作者。
GetEnumerator()返回一个枚举器,用于迭代集合。
Remove(ICommentAuthor)移除集合中指定作者的第一次出现。
RemoveAt(int)移除集合中指定索引处的作者。
ToArray()创建并返回一个包含所有作者的数组。

See Also