[]
Determines whether the item at the specified index can be replaced in the collection.
public static bool CanReplace<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 of the item that would be replaced. |
T | item | The item that would be replaced. |
Type | Description |
---|---|
bool |
Name | Description |
---|---|
T |