RowCollection

Overview

RowCollection is a class in Aspose.Slides FOSS for .NET. Inherits from: IRowCollection, IEnumerable<IRow>.

Represents a collection of rows in a table.

This class provides 4 methods for working with RowCollection objects in .NET programs. Available methods include: AddClone, GetEnumerator, InsertClone, RemoveAt. All public members are accessible to any .NET application after installing the Aspose.Slides FOSS for .NET package. Properties: AsICollection, AsIEnumerable, Count.

Properties

NameTypeAccessDescription
CountintReadGets the count.
AsICollectionIList<IRow>ReadGets a shallow copy of all rows as a list.
AsIEnumerableIEnumerable<IRow>ReadGets an enumerable over the rows.

Methods

SignatureDescription
AddClone(templ: IRow, withAttachedRows: bool)Adds a clone of the given IRow, optionally including its attached rows
InsertClone(index: int, templ: IRow, withAttachedRows: bool)Inserts a cloned IRow at the specified index, optionally with attached rows
RemoveAt(firstRowIndex: int, withAttachedRows: bool)Calls RemoveAt(firstRowIndex, withAttachedRows) on this RowCollection instance.
GetEnumerator()Calls GetEnumerator on this RowCollection instance.

See Also