Show / Hide Table of Contents

Class TableCollection

Inheritance
System.Object
TableCollection
Namespace: DRIT.Spreadsheet.Tables
Assembly: DRIT.Spreadsheet.dll
Syntax
public class TableCollection : IEnumerable<Table>

Properties

Count

Declaration
public int Count { get; }
Property Value
Type Description
System.Int32

Item[Int32]

Declaration
public Table this[int index] { get; }
Parameters
Type Name Description
System.Int32 index
Property Value
Type Description
Table

Methods

Add(String, Boolean)

Adds a new table to the worksheet for the specified range.

Declaration
public Table Add(string rangeLabel, bool hasHeaders)
Parameters
Type Name Description
System.String rangeLabel
System.Boolean hasHeaders
Returns
Type Description
Table

Add(String, String, Boolean)

Declaration
public Table Add(string rangeLabel, string tableName, bool hasHeaders)
Parameters
Type Name Description
System.String rangeLabel
System.String tableName
System.Boolean hasHeaders
Returns
Type Description
Table

Clear()

Declaration
public void Clear()

GetEnumerator()

Declaration
public IEnumerator<Table> GetEnumerator()
Returns
Type Description
IEnumerator<Table>

IsInTable(Cell, ref Table)

Declaration
public bool IsInTable(Cell cell, ref Table table)
Parameters
Type Name Description
Cell cell
Table table
Returns
Type Description
System.Boolean

Remove(Table)

Declaration
public void Remove(Table item)
Parameters
Type Name Description
Table item

RemoveAt(Int32)

Declaration
public void RemoveAt(int index)
Parameters
Type Name Description
System.Int32 index
Back to top Generated by DocFX