CommentAuthorCollection

CommentAuthorCollection

概述

CommentAuthorCollection 是 Aspose.Slides FOSS for .NET 的类。. 继承: ICommentAuthorCollection.

代表一系列由 CommentAuthorsPart 支持的评论作者。.

此类提供7种方法,以便在 .NET 程序中使用 CommentAuthorCollection 对象。. 可用的方法包括: AddAuthor, Clear, FindByName, FindByNameAndInitials, Remove, RemoveAt, ToArray. 所有公共成员都可以在安装 Aspose.Slides FOSS for .NET 包后访问任何 .net 应用程序。. 属性: AsICollection, AsIEnumerable, Count.

属性

名称类型Access描述
AsICollectionIList<ICommentAuthor>阅读获取 as i 集合。.
AsIEnumerableIEnumerable<ICommentAuthor>阅读获取作为 IEnumerable 的.
Countint阅读获取集合中作者的数量。.

方法

Signature描述
AddAuthor(name: string, initials: string)添加一个新的评论作者,指定名称和初步标题
ToArray()返回作者作为一个序列的 ICommentAuthor
FindByName(name: string)返回第一位作者,其名字符合该字符串的名称。
FindByNameAndInitials(name: string, initials: string)返回作者,相匹配姓名和初始字符
RemoveAt(index: int)删除指定零基于指数的作者
Remove(author: ICommentAuthor)从收藏中删除所提供的 ICommentAuthor 示例
Clear()将所有作者从收藏中删除

看也

 中文