GanttView for WPF | ComponentOne
C1.WPF.GanttView.4.6.2 Assembly / C1.GanttView Namespace / TaskCollection Class / Add Method

In This Topic
    Add Method (TaskCollection)
    In This Topic
    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 Integer
    public new int Add( 
       Task item
    )

    Parameters

    item

    Return Value

    Returns the index of newly added custom object.
    See Also