IDataRowAdapter Interface
- Namespace
TXTextControl.DocumentServer. DataSources
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WPF. SDK
- Assembly
TXDocumentServer.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WPF. SDK TXDocumentServer.from the setup.dll
Description
The IDataRowAdapter interface contains properties and methods implemented by data row instances used in the BlockMerging event.
Syntax
public interface IDataRowAdapterPublic Interface IDataRowAdapterExamples
The following example includes the item value from an IData Row Adapter object in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Item: {iDataRowAdapter["Quarterly report"]}");
Console.WriteLine("IData Row Adapter is ready for use.");Console.WriteLine($"Item: {iDataRowAdapter.Item("Quarterly report")}")
Console.WriteLine("IData Row Adapter is ready for use.")Members
Properties
| Property | Description |
|---|---|
| Item | The indexer of the IDataRowAdapter interface returns the content of the row's column with the given name. |
| Table | Gets the table the data row belongs to as an instance of a class implementing the IDataTableAdapter interface. |
Methods
| Method | Description |
|---|---|
| ContainsColumn | Not described in the reference. bool ContainsColumn(string columnName); |
| GetChildRows | Returns the data of a child relation with a given name as an array of IDataRowAdapter instances. |