DataColumnInfo Class
- 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 DataColumnInfo class provides basic information about a table column in a data source.
Syntax
public class DataColumnInfoPublic Class DataColumnInfoExamples
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.");Console.WriteLine($"Caption: {dataColumnInfo.Caption}")
Console.WriteLine("Data Column Info is ready for use.")Members
Properties
| Property | Description |
|---|---|
| Caption | Gets a descriptive or friendly column name. Returns the same value as the ColumnName property if not set explicitly. |
| ColumnName | Gets the column name. |
| DataTableInfo | Gets an object of type DataTableInfo which represents the table this column belongs to. |
| DataType | Gets the data type of this table column. |