Class EmbeddedFileCollection
EmbeddedFileCollection 类
表示嵌入文件集合的类。
public class EmbeddedFileCollection : ICollection<FileSpecification>
属性
名称 | 描述 |
---|---|
Count { get; } | 获取集合中嵌入文件的数量。 |
IsSynchronized { get; } | 获取一个值,指示访问此集合是否是同步的(线程安全)。 |
Item { get; } | 通过索引获取嵌入文件。(2 个索引器) |
Keys { get; } | 返回文件附件键的列表。 |
SyncRoot { get; } | 获取一个可以用于同步访问此集合的对象。 |
方法
名称 | 描述 |
---|---|
Add(FileSpecification) | 将嵌入文件规范添加到集合中。 |
Add(string, FileSpecification) | 使用指定的键将文件添加到嵌入文件中。 |
CopyTo(FileSpecification[], int) | 将 FileSpecification 对象数组复制到集合中。 |
Delete() | 从文档中删除所有嵌入文件。 |
Delete(string) | 按名称删除嵌入文件。 |
DeleteByKey(string) | 按集合中的键从集合中删除文件。 |
FindByName(string) | 按名称返回嵌入文件。 |
GetEnumerator() | 返回集合枚举器。 |
另请参阅
- 类 FileSpecification
- 命名空间 Aspose.Pdf
- 程序集 Aspose.PDF