public SetByIndex ( int index, Object value ) : void | ||
index | int | |
value | Object | |
return | void |
public virtual void SetByIndex(int index, Object value)
{
if (index < 0 || index >= Count) throw new ArgumentOutOfRangeException(nameof(index), SR.ArgumentOutOfRange_Index);
Contract.EndContractBlock();
_values[index] = value;
_version++;
}
SortedList::SetByIndex ( int index, object value ) : void |
public override void SetByIndex(int index, object value) { lock (host.SyncRoot) { host.SetByIndex(index, value); } }