• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class TableCollection

Provides ordered access to the tables in a story.

Inheritance
object
TableCollection
Implements
IEnumerable<Table>
IEnumerable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public class TableCollection : IEnumerable<Table>, IEnumerable

Properties

Count

Gets the number of tables in the collection.

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

this[int]

Gets the table at the specified zero-based index.

Declaration
public Table this[int index] { get; }
Parameters
Type Name Description
int index

The zero-based table index.

Property Value
Type Description
Table

The table at index.

Methods

Add(Table)

Adds a table to the end of the story.

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

The table to add.

GetEnumerator()

Returns an enumerator over tables in story order.

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

An enumerator over the live collection.

Insert(int, Table)

Inserts a table at the specified zero-based index.

Declaration
public void Insert(int index, Table item)
Parameters
Type Name Description
int index

The zero-based insertion index.

Table item

The table to insert.

RemoveAt(int)

Removes the table at the specified zero-based index.

Declaration
public void RemoveAt(int index)
Parameters
Type Name Description
int index

The zero-based index to remove.

Implements

IEnumerable<T>
IEnumerable
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX