# Invokable_ISuppressAttributionGrain_GrainReference_5A02311D.SetArgument(int, object)

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