Class ListObjectCollection
Namespace: Aspose.Cells.Tables
Assembly: Aspose.Cells.dll (25.2.0)
Represents a collection of Aspose.Cells.Tables.ListObject objects in the worksheet.
public class ListObjectCollection : CollectionBase<listobject>, IList<listobject>, ICollection<listobject>, IEnumerable<listobject>, ICollection, IEnumerable
Inheritance
object ← CollectionBase<listobject> ← ListObjectCollection
Implements
IList<listobject>, ICollection<listobject>, IEnumerable<listobject>, ICollection, IEnumerable
Inherited Members
CollectionBase<listobject>.BinarySearch(ListObject), CollectionBase<listobject>.BinarySearch(ListObject, IComparer<listobject>), CollectionBase<listobject>.BinarySearch(int, int, ListObject, IComparer<listobject>), CollectionBase<listobject>.Contains(ListObject), CollectionBase<listobject>.CopyTo(ListObject[]), CollectionBase<listobject>.CopyTo(ListObject[], int), CollectionBase<listobject>.CopyTo(int, ListObject[], int, int), CollectionBase<listobject>.Exists(Predicate<listobject>), CollectionBase<listobject>.Find(Predicate<listobject>), CollectionBase<listobject>.FindAll(Predicate<listobject>), CollectionBase<listobject>.FindIndex(Predicate<listobject>), CollectionBase<listobject>.FindIndex(int, Predicate<listobject>), CollectionBase<listobject>.FindIndex(int, int, Predicate<listobject>), CollectionBase<listobject>.FindLast(Predicate<listobject>), CollectionBase<listobject>.FindLastIndex(Predicate<listobject>), CollectionBase<listobject>.FindLastIndex(int, Predicate<listobject>), CollectionBase<listobject>.FindLastIndex(int, int, Predicate<listobject>), CollectionBase<listobject>.IndexOf(ListObject), CollectionBase<listobject>.IndexOf(ListObject, int), CollectionBase<listobject>.IndexOf(ListObject, int, int), CollectionBase<listobject>.LastIndexOf(ListObject), CollectionBase<listobject>.LastIndexOf(ListObject, int), CollectionBase<listobject>.LastIndexOf(ListObject, int, int), CollectionBase<listobject>.GetEnumerator(), CollectionBase<listobject>.Clear(), CollectionBase<listobject>.RemoveAt(int), CollectionBase<listobject>.OnClearComplete(), CollectionBase<listobject>.OnClear(), CollectionBase<listobject>.Capacity, CollectionBase<listobject>.Count, CollectionBase<listobject>.InnerList, CollectionBase<listobject>.this[int], object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties
this[int]
Gets the ListObject by index.
public ListObject this[int index] { get; }
Property Value
this[string]
Gets the ListObject by specified name.
public ListObject this[string tableName] { get; }
Property Value
Methods
Add(int, int, int, int, bool)
Adds a ListObject to the worksheet.
public int Add(int startRow, int startColumn, int endRow, int endColumn, bool hasHeaders)
Parameters
startRow
int
The start row of the list range.
startColumn
int
The start row of the list range.
endRow
int
The start row of the list range.
endColumn
int
The start row of the list range.
hasHeaders
bool
Whether the range has headers.
Returns
The index of the new ListObject
Add(string, string, bool)
Adds a ListObject to the worksheet.
public int Add(string startCell, string endCell, bool hasHeaders)
Parameters
startCell
string
The start cell of the list range.
endCell
string
The end cell of the list range.
hasHeaders
bool
Whether the range has headers.
Returns
The index of the new ListObject
UpdateColumnName()
Update all column name of the tables.
public void UpdateColumnName()
</listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject></listobject>