[]
Overrides default behavior of Collection. Prevents from adding items non-existent in the parent collection.
protected override void SetItem(int index, T item)
Type | Name | Description |
---|---|---|
int | index | The zero-based index of the item. |
T | item | The object to set. |