Represents a collection of [!:Spire.Doc.ITable] objects.
Namespace: Spire.Doc.CollectionsAssembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public class TableCollection : DocumentSubsetCollection, ITableCollection, IDocumentObjectCollection, ICollectionBase, IEnumerable
Public Class TableCollection Inherits DocumentSubsetCollection Implements ITableCollection, IDocumentObjectCollection, ICollectionBase, IEnumerable
public ref class TableCollection : public DocumentSubsetCollection, ITableCollection, IDocumentObjectCollection, ICollectionBase, IEnumerable
type TableCollection = class inherit DocumentSubsetCollection interface ITableCollection interface IDocumentObjectCollection interface ICollectionBase interface IEnumerable end
Members
| All Members | Constructors | Fields | Properties | Methods |
| Member | Description | |
|---|---|---|
| TableCollection(BodyRegionCollection) |
Initializes a new instance of the TableCollection class.
| |
| Add(ITable) |
Adds a table to end of text body.
| |
| Clear()()()() |
Removes all entities
(Inherited from DocumentSubsetCollection.) | |
| Contains(ITable) |
Determines whether the [!:Spire.Doc.ITableCollection] contains a specific value.
| |
| Count |
Gets the count.
(Inherited from DocumentSubsetCollection.) | |
| Document |
Gets the document.
(Inherited from DocumentSubsetCollection.) | |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetByIndex(Int32) | (Inherited from DocumentSubsetCollection.) | |
| GetEnumerator()()()() |
Returns an enumerator that iterates through a collection.
(Inherited from DocumentSubsetCollection.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IndexOf(ITable) |
Determines the index of a specific item in the [!:Spire.Doc.ITableCollection].
| |
| Insert(Int32, ITable) |
Inserts a table into collection at the specified index.
| |
| Item[([( Int32])]) | ||
| m_doc | (Inherited from OwnerHolder.) | |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Owner |
Gets the owner.
(Inherited from DocumentSubsetCollection.) | |
| Remove(ITable) |
Removes the specified table.
| |
| RemoveAt(Int32) |
Removes the table at the specified index from the collection.
| |
| ToString()()()() | (Inherited from Object.) |
Inheritance Hierarchy
System..::..Object
Spire.Doc..::..OwnerHolder
Spire.Doc.Collections..::..DocumentSubsetCollection
Spire.Doc.Collections..::..TableCollection
Spire.Doc..::..OwnerHolder
Spire.Doc.Collections..::..DocumentSubsetCollection
Spire.Doc.Collections..::..TableCollection