Click or drag to resize

TableCollection Class

Represents a collection of [!:Spire.Doc.ITable] objects.
Inheritance Hierarchy
System Object
Spire.Doc OwnerHolder
Spire.Doc.Collections DocumentSubsetCollection
Spire.Doc.Collections TableCollection

Namespace: Spire.Doc.Collections
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public class TableCollection : DocumentSubsetCollection, 
	ITableCollection, IDocumentObjectCollection, ICollectionBase, IEnumerable

The TableCollection type exposes the following members.

Constructors
Name Description
Public method TableCollection
Initializes a new instance of the TableCollection class.
Top
Properties
Name Description
Public property Count
Gets the count.
(Inherited from DocumentSubsetCollection .)
Public property Document
Gets the document.
(Inherited from DocumentSubsetCollection .)
Public property Item
Gets the [!:Spire.Doc.ITable] at the specified index.
Public property Owner
Gets the owner.
(Inherited from DocumentSubsetCollection .)
Top
Methods
Name Description
Public method Add
Adds a table to end of text body.
Public method Clear
Removes all entities
(Inherited from DocumentSubsetCollection .)
Public method Contains
Determines whether the [!:Spire.Doc.ITableCollection] contains a specific value.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Protected method GetByIndex (Inherited from DocumentSubsetCollection .)
Public method GetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from DocumentSubsetCollection .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Public method IndexOf
Determines the index of a specific item in the [!:Spire.Doc.ITableCollection] .
Public method Insert
Inserts a table into collection at the specified index.
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method Remove
Removes the specified table.
Public method RemoveAt
Removes the table at the specified index from the collection.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
Fields
Name Description
Protected field m_doc (Inherited from OwnerHolder .)
Top
See Also