ZennoLab Assemblies Documentation
ColSeparator Property
See Also  Example Send Feedback
ZennoLab.InterfacesLibrary Assembly > ZennoLab.InterfacesLibrary.ProjectModel Namespace > IZennoTable Interface : ColSeparator Property

Glossary Item Box

Gets or sets the string that separates the segments of the columns.

Syntax

C# 
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.
C#Copy Code
// 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;
PHPCopy Code
// 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: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven

See Also

© 2013 All Rights Reserved.