TX Text Control .NET Server

DataColumnInfo Class

Class|Introduced in 24.0
Namespace
TXTextControl.DocumentServer.DataSources
Package
TXTextControl.TextControl.Core.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXDocumentServer.Core.dll
Install
dotnet add package TXTextControl.TextControl.Core.SDK .NET 8 and later. For .NET Framework, reference TXDocumentServer.dll from the setup.
Also in
TXTextControl.TextControl.ASP.SDK as TXDocumentServer.dll

Description

The DataColumnInfo class provides basic information about a table column in a data source.

Syntax

public class DataColumnInfo

Examples

The following example includes the caption value from a Data Column Info object in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Caption: {dataColumnInfo.Caption}");
Console.WriteLine("Data Column Info is ready for use.");

Members

Properties

PropertyDescription
CaptionGets a descriptive or friendly column name. Returns the same value as the ColumnName property if not set explicitly.
ColumnNameGets the column name.
DataTableInfoGets an object of type DataTableInfo which represents the table this column belongs to.
DataTypeGets the data type of this table column.