ComponentOne GanttView for WinForms
Add(Task) Method

C1.Win.C1GanttView.4 Assembly > C1.Win.C1GanttView Namespace > TaskCollection Class : Add(Task) Method
Adds a new Task object to the collection. If the item already exists in the collection, its index is returned.
Syntax
'Declaration
 
Public Shadows Function Add( _
   ByVal item As Task _
) As System.Integer
public new System.int Add( 
   Task item
)

Parameters

item

Return Value

Returns the index of newly added custom object.
See Also

Reference

TaskCollection Class
TaskCollection Members