TX Text Control .NET Server

ColumnNames Property

Property|Introduced in 23.0
Namespace
TXTextControl.DocumentServer.DataSources
Package
TXTextControl.TextControl.Core.SDK as TXDocumentServer.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXDocumentServer.dll, TXTextControl.Web as TXTextControl.Web.DocumentEditor.dll

Description

Returns the table's column names as a string array.

Syntax

string[] ColumnNames { get; }

Examples

The following example iterates through the column names collection and processes each string.

foreach (string text in iDataTableAdapter.ColumnNames)
{
    Console.WriteLine(text.Length);
}

Limitations

Read only.