# Invokable_INoAttributionGrain_GrainReference_BC7E3A79.SetArgument(int, object)

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