.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

TableCollection Members

A collection of Table objects in a document.

Properties

Name Description
Count Gets the number of elements contained in the ICollection. Inherited from ICollection.
First Gets the first table in the document.
IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe). Inherited from ICollection.
Last Gets the last table in the document.
SyncRoot Gets an object that can be used to synchronize access to the ICollection. Inherited from ICollection.

Methods

Name Description
CopyTo(Array, Int32) Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection.
Create(DocumentPosition, Int32, Int32) Inserts a blank table with the specified number of rows and columns at the specified position.
Create(DocumentPosition, Int32, Int32, AutoFitBehaviorType) Inserts a blank table with the specified number of rows and columns at the specified position.
Create(DocumentPosition, Int32, Int32, AutoFitBehaviorType, Int32) Inserts a blank table with the specified number of rows and columns at the specified position.
Get(DocumentRange) Gets all tables located in the specified document range. Inherited from ReadOnlyTableCollection.
GetEnumerator() Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>.
GetTableCell(DocumentPosition) Gets the table cell encompassing the specified position. Inherited from ReadOnlyTableCollection.
IndexOf(Table) Returns an index of a table in a collection.
Remove(Table) Removes the table from the collection of tables in a document.
RemoveTableAt(Int32) Removes the table with the specified index from the collection of tables in a document.
See Also