Columns Property
- Namespace
TXTextControl.DocumentServer. DataSources
- Package
TXTextControl.asTextControl. Core. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXDocumentServer.dll
Description
Gets a DataColumnInfoCollection representing the columns of this data table.
Syntax
public DataColumnInfoCollection Columns { get; }Public ReadOnly Property Columns As DataColumnInfoCollectionExamples
The following example iterates through the columns collection and processes each data column info.
foreach (TXTextControl.DocumentServer.DataSources.DataColumnInfo dataColumnInfo in dataTableInfo.Columns)
{
Console.WriteLine(dataColumnInfo.Caption);
}For Each dataColumnInfo As TXTextControl.DocumentServer.DataSources.DataColumnInfo In dataTableInfo.Columns
Console.WriteLine(dataColumnInfo.Caption)
NextLimitations
Read only.