ZennoLab Assemblies Documentation
ColSeparator Property
Example 
Gets or sets the string that separates the segments of the columns.
Syntax
string ColSeparator {get; set;}

Property Value

Type: System.String
A string that represents the separator of the columns.
Remarks
The separator can be regular expression. In this case IsColSeparatorRegEx property should be "true".
Example
The following code example sets ColSeparator property. After a new row adds into the table and returns columns count.
// get table by name "MyTable"
IZennoTable table = project.Tables["MyTable"];
 
// set rows separator
table.ColSeparator = ":";
 
// add row
table.AddRow("one:two:three:four");
 
// return columns count
return table.ColCount;
// get table by name "MyTable"
$table = $project->Tables->get_Item("MyTable");
 
// set rows separator
$table->ColSeparator = ":";
 
// add row
$table->AddRow("one:two:three:four");
 
// return columns count
return $table->ColCount;
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

IZennoTable Interface
IZennoTable Members
ColCount Property
AddRow Method
IsColSeparatorRegEx Property

Send Feedback