FormFieldCollection

FormFieldCollection

概述

FormFieldCollection 是 Aspose.Words FOSS 中用于 .NET 的一个类。继承自:IEnumerable<FormField>。

一组 FormField 对象,表示范围内的所有表单字段。

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

属性

名称类型访问描述
Countint读取返回集合中表单字段的数量。

方法

签名描述
Remove(formField: string)删除具有指定名称的表单字段。
RemoveAt(index: int)删除指定索引处的表单字段。
Clear()从此集合及文档中移除所有表单字段。
GetEnumerator()返回一个枚举器对象。

另请参阅

 中文