GeneralFormatCollection

GeneralFormatCollection

概述

GeneralFormatCollection 是 Aspose.Words FOSS 中用于 .NET 的类。继承自:IEnumerable<GeneralFormat>。

表示一种通用格式的类型化集合。

此类提供 4 个方法,用于在 .NET 程序中处理 GeneralFormatCollection 对象。可用的方法包括:Add、GetEnumerator、Remove、RemoveAt。安装 Aspose.Words FOSS for .NET 包后,所有公共成员对任何 .NET 应用程序均可访问。属性:Count。

属性

名称类型访问描述
Countint读取获取集合中项目的总数。

方法

签名描述
Add(item: GeneralFormat)向集合中添加通用格式。
Remove(item: GeneralFormat)从集合中删除指定通用格式的所有出现。
RemoveAt(index: int)在指定索引处删除一个通用格式的出现。
GetEnumerator()返回一个枚举器对象。

另请参阅

 中文