---
title: "value(_:forProperty:)"
framework: foundationmodels
role: symbol
role_heading: Instance Method
path: "foundationmodels/generatedcontent/value(_:forproperty:)"
---

# value(_:forProperty:)

Reads a concrete Generable type from named property.

## Declaration

```swift
func value<Value>(_ type: Value.Type = Value.self, forProperty property: String) throws -> Value where Value : ConvertibleFromGeneratedContent
```

## See Also

### Accessing the content

- [kind](foundationmodels/generatedcontent/kind-swift.property.md)
- [GeneratedContent.Kind](foundationmodels/generatedcontent/kind-swift.enum.md)
- [value(_:)](foundationmodels/generatedcontent/value(_:).md)
- [isComplete](foundationmodels/generatedcontent/iscomplete.md)
- [generatedContent](foundationmodels/generatedcontent/generatedcontent.md)
- [jsonString](foundationmodels/generatedcontent/jsonstring.md)
- [debugDescription](foundationmodels/generatedcontent/debugdescription.md)
