Version

Add(String,Type,Boolean,Object) Method

Method to Add a new column to the Columns Collection
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal key As String, _
   ByVal type As Type, _
   ByVal isPersisted As Boolean, _
   ByVal defaultValue As Object _
) As TaskColumn
public TaskColumn Add( 
   string key,
   Type type,
   bool isPersisted,
   object defaultValue
)

Parameters

key
The key for the column to be added
type
The type of data this column supports
isPersisted
Determines whether the field is used saved when binding the Tasks colletion to a data source or saving the UltraCalendarInfo.
defaultValue
Specifies the default value of cells in the custom task column.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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