TablePartCollection Class
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. Core. SDK
- Assembly
TXTextControl.Core. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. Core. SDK TXTextControl.from the setup.dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
- Implements
- ICollection, IEnumerable
Description
The TablePartCollection class is the base class of the TableRowCollection, TableColumnCollection and TableCellCollection classes. It implements their base functionality and the IEnumerable and the ICollection interface.
Syntax
public abstract class TablePartCollection : ICollection, IEnumerablePublic MustInherit Class TablePartCollection
Implements ICollection, IEnumerableExamples
The following example includes the count value from a Table Part Collection object in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Count: {tablePartCollection.Count}");
Console.WriteLine("Table Part Collection is ready for use.");Console.WriteLine($"Count: {tablePartCollection.Count}")
Console.WriteLine("Table Part Collection is ready for use.")Members
Properties
| Property | Description |
|---|---|
| Count | Gets the number of elements contained in the collection. |
| IsSynchronized | Returns true if the collection is designed to be thread safe, otherwise, it returns false. |
| SyncRoot | Gets an object that can be used to synchronize access to the collection. |
Methods
| Method | Description |
|---|---|
| CopyTo | Not described in the reference. public abstract void CopyTo(Array array, int index); |
| GetEnumerator | Returns an enumerator that can be used to iterate through the collection. |