---
title: "recordArgument(_:)"
framework: distributed
role: symbol
role_heading: Instance Method
path: "distributed/distributedtargetinvocationencoder/recordargument(_:)"
---

# recordArgument(_:)

Record an argument of Argument type. This will be invoked for every argument of the target, in declaration order.

## Declaration

```swift
mutating func recordArgument<Value>(_ argument: RemoteCallArgument<Value>) throws
```

## Serialization Requirement

Serialization Requirement Implementations of this method must ensure that the Value type parameter conforms to the types’ SerializationRequirement.
