[]
Determines whether a new item can be inserted in the collection at the specified index.
public static bool CanInsert<T>(this IDataCollection<T> dataCollection, int index, T item) where T : class?
Type | Name | Description |
---|---|---|
IDataCollection<T> | dataCollection | The data collection. |
int | index | The index where the items would be inserted. |
T | item | The item that would be inserted. |
Type | Description |
---|---|
bool |
Name | Description |
---|---|
T |