.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > GridColumnCollection Class > Add Method : Add(String,String,String) Method
The header label of the new column..
CSS style for the column.
Add(String,String,String) Method
Adds the specified GridColumn object to this collection.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal header As String, _
   ByVal value As String, _
   ByVal style As String _
) As Integer
'Usage
 
Dim instance As GridColumnCollection
Dim header As String
Dim value As String
Dim style As String
Dim value As Integer
 
value = instance.Add(header, value, style)

Parameters

header
The header label of the new column..
value
style
CSS style for the column.

Return Value

The zero-based index of the added GridColumn.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also