BaseWebExtensionCollection

BaseWebExtensionCollection

概述

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

用于 TaskPaneCollection、WebExtensionBindingCollection、WebExtensionPropertyCollection 和 WebExtensionReferenceCollection 集合的基类。

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

属性

名称类型访问描述
Countint读取获取集合中包含的元素数量。

方法

签名描述
Add(item: T)将指定的项目添加到集合中。
Clear()从集合中删除所有元素。
Remove(index: int)从集合中删除指定索引处的项目。
GetEnumerator()返回一个可以遍历集合的枚举器。

另请参阅

 中文