IRowCollection

概述

IRowCollection 是 Aspose.Slides FOSS 中用于 .NET 的接口。

表示一组表格行。

此接口为在 .NET 程序中处理 IRowCollection 对象提供了 3 个方法。可用的方法包括:AddClone、InsertClone、RemoveAt。在安装了用于 .NET 的 Aspose.Slides FOSS 包后,所有公共成员对任何 .NET 应用程序均可访问。属性:AsICollection、AsIEnumerable、Count。

属性

名称类型访问描述
Countint读取获取行数。
AsICollectionIList<IRow>读取获取所有行的浅拷贝作为列表。
AsIEnumerableIEnumerable<IRow>读取获取行的可枚举对象。

方法

签名描述
AddClone(templ: IRow, withAttachedRows: bool)克隆模板行并将结果追加到集合的末尾。
InsertClone(index: int, templ: IRow, withAttachedRows: bool)克隆模板行并将结果插入到指定位置。
RemoveAt(firstRowIndex: int, withAttachedRows: bool)删除指定索引处的行。

另请参阅

 中文