Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar Namespace / FileReferenceCollection Class / OnItemAdd Method
-1 to add to the end of the collection, index in the collection to insert at that location.

In This Topic
    OnItemAdd Method
    In This Topic
    Add an item to the collection, optionally specifying the index
    Syntax
    'Declaration
     
    
    Protected Overridable Sub OnItemAdd( _
       ByVal item As FileReference, _
       ByVal index As Integer _
    ) 
    protected virtual void OnItemAdd( 
       FileReference item,
       int index
    )

    Parameters

    item
    index
    -1 to add to the end of the collection, index in the collection to insert at that location.
    Remarks
    Raises the CollectionChanged event.
    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