[]
Replaces the element at the specified ordinal position.
protected override void SetItem(int ordinal, T newItem)
Type | Name | Description |
---|---|---|
int | ordinal | The zero-based ordinal of the element to replace. |
T | newItem | The new value for the element at the specified ordinal. The value can be null for reference types. |