WarningInfoCollection

WarningInfoCollection

概述

WarningInfoCollection 是 Aspose.Words FOSS 中用于 .NET 的类。继承自:IWarningCallback,IEnumerable<WarningInfo>。

表示一个类型化的 WarningInfo 对象集合。

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

属性

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

方法

签名描述
GetEnumerator()返回一个 enumeratoriteratorenumerator 对象,可用于遍历集合中的所有项。
Clear()从集合中移除所有元素。
Warning(info: WarningInfo)实现 IWarningCallback 接口。

另请参阅

 中文