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

In This Topic
    CanRemove<T> Method (IDataCollectionEx)
    In This Topic
    Determines whether the item at the specified index can be removed from the collection.
    Syntax
    'Declaration
     
    
    Public Shared Function CanRemove(Of T As Class)( _
       ByVal dataCollection As IDataCollection(Of T), _
       ByVal index As Integer _
    ) As Boolean
    public static bool CanRemove<T>( 
       IDataCollection<T> dataCollection,
       int index
    )
    where T: class

    Parameters

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

    Type Parameters

    T
    See Also