Scheduler for WPF | ComponentOne
C1.Schedule Namespace / ResourceList Class / InsertItem Method
The zero-based index of the item to insert.
The object to insert.

In This Topic
    InsertItem Method (ResourceList)
    In This Topic
    Overrides default behavior of Collection. Prevents from adding items non-existent in the parent collection.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub InsertItem( _
       ByVal index As Integer, _
       ByVal item As Resource _
    ) 
    protected virtual void InsertItem( 
       int index,
       Resource item
    )

    Parameters

    index
    The zero-based index of the item to insert.
    item
    The object to insert.
    See Also