---
title: "makeContainer(context:)"
framework: swift
role: symbol
role_heading: Instance Method
path: "swift/set/makecontainer(context:)"
---

# makeContainer(context:)

Creates a container that represents this set of intent values.

## Declaration

```swift
func makeContainer(context: IntentValueContainer.ConversionContext) -> IntentValueContainer
```

## Parameters

- `context`: The context to use for the conversion.

## Return Value

Return Value An intent value container representing this set.

## Discussion

Discussion This method converts each element in the set to its container representation and wraps them in an ArrayContainerElement.
