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

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

    Parameters

    dataCollection
    The data collection.
    startingIndex
    The index of the item that would be replaced.
    items
    The items that would be replaced.

    Type Parameters

    T
    See Also