# Invokable_IJoinAttributionGrain_GrainReference_B1619F67.SetArgument(int, object)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleanscodegen.orleans.transactions.testkit.invokable-ijoinattributiongrain-grainreference-b1619f67/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.transactions.testkit.base/orleanscodegen.orleans.transactions.testkit.invokable-ijoinattributiongrain-grainreference-b1619f67/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
