# Invokable_IFaultInjectionTransactionTestGrain_GrainReference_8389970A.SetArgument(int, object)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleanscodegen.orleans.transactions.testkit.invokable-ifaultinjectiontransactiontestgrain-grainreference-8389970a/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleanscodegen.orleans.transactions.testkit.invokable-ifaultinjectiontransactiontestgrain-grainreference-8389970a/methods/)

```csharp
public override void SetArgument(int index, object value)
```

Sets the argument at the specified index.

### Parameters

- `index` (`int`): The argument index.
- `value` (`object`): The argument value
