[]
        
(Showing Draft Content)

C1.DataCollection.IDataCollectionEx.CanRemove

CanRemove Method

CanRemove<T>(IDataCollection<T>, int)

Determines whether the item at the specified index can be removed from the collection.

Declaration
public static bool CanRemove<T>(this IDataCollection<T> dataCollection, int index) where T : class?
Public Shared Function CanRemove(Of T As Class)(dataCollection As IDataCollection(Of T), index As Integer) As Boolean
Parameters
Type Name Description
IDataCollection<T> dataCollection

The data collection.

int index

The index of the item that would be removed.

Returns
Type Description
bool
Type Parameters
Name Description
T