Skip to content

a02bc950 b9aa e2fa d74d 452a0da32f02

Fernando Garcia edited this page May 8, 2018 · 1 revision

TableModel.Name Property

Additional header content

Gets or sets name of the table.

Namespace: iTin.Export.Model
Assembly: iTin.Export.Core (in iTin.Export.Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public string Name { get; set; }

VB

Public Property Name As String
	Get
	Set

Property Value

Type: String
The name of the table. Are only allow strings made ​​up of letters, numbers and following special chars '_ - # * @ % $'.

Exceptions

 

Exception Condition
ArgumentNullException If value is null.
InvalidFieldIdentifierNameException If value not is a valid field identifier name.

Remarks

TEE Object Element Usage

<Table Name="string" ...>
...
</Table>

Compatibility table with native writers.

Comma-Separated Values
CsvWriter
Tab-Separated Values
TsvWriter
SQL Script
SqlScriptWriter
XML Spreadsheet 2003
Spreadsheet2003TabularWriter
X X X X
X

Examples

XML

<Table Name="Sample name">
...
</Table>

C#

...
TableModel table = new TableModel
{
Name = "Sample name",
Alias = "Sample alias",
AutoFilter = YesNo.Yes,
Location = new[] { 2, 2 },
AutoFitColumns = YesNo.Yes,
} ;
...

See Also

Reference

TableModel Class
iTin.Export.Model Namespace

Clone this wiki locally