Blazor | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / RemoveAsync<T> Method
The data collection.
The index of the item that will be removed.

In This Topic
    RemoveAsync<T> Method (IDataCollectionEx)
    In This Topic
    Removes the item at the specified index from the collection.
    Syntax
    'Declaration
     
    Public Shared Function RemoveAsync(Of T As Class)( _
       ByVal dataCollection As IDataCollection(Of T), _
       ByVal index As Integer _
    ) As Task
    public static Task RemoveAsync<T>( 
       IDataCollection<T> dataCollection,
       int index
    )
    where T: class

    Parameters

    dataCollection
    The data collection.
    index
    The index of the item that will be removed.

    Type Parameters

    T
    See Also