Sets the value of the parameter with the given index.
[EditorBrowsable(EditorBrowsableState.Never)]
public void Add<T>(int index, T? value)
Index of the argument being set.
Value of the argument.
This method is equivalent to SetValue(Int32, Object?) and supports object initialization syntax so you can write code like:
var args = new ArgumentCollection(parameters)
{
{ 0, "hello" },
{ 1, 25 },
{ 2, true },
};