ComponentOne CollectionView
C1.CollectionView Assembly / C1.CollectionView Namespace / ICollectionViewEx Class / AddAsync<T> Method
The collection view.
The item to be added.

In This Topic
    AddAsync<T> Method
    In This Topic
    Adds the specified item to the collection.
    Syntax
    'Declaration
     
    Public Shared Function AddAsync(Of T As Class)( _
       ByVal collectionView As ICollectionView(Of T), _
       ByVal item As T _
    ) As System.Threading.Tasks.Task(Of Integer)
    public static System.Threading.Tasks.Task<int> AddAsync<T>( 
       ICollectionView<T> collectionView,
       T item
    )
    where T: class

    Parameters

    collectionView
    The collection view.
    item
    The item to be added.

    Type Parameters

    T
    See Also