---
title: toManyRelationshipKeys
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsclassdescription/tomanyrelationshipkeys
---

# toManyRelationshipKeys

Overridden by subclasses to return the keys for the to-many relationship properties of instances of the described class.

## Declaration

```swift
var toManyRelationshipKeys: [String] { get }
```

## Return Value

Return Value An array of NSString objects containing the names of the to-many relationship properties of instances of the described class.

## Discussion

Discussion To-many relationship properties are arrays of objects. If you have an instance of the class the receiver describes, you can use the NSObject instance method toManyRelationshipKeys instead.

## See Also

### Related Documentation

- [attributeKeys](foundation/nsclassdescription/attributekeys.md)

### Relationship keys

- [inverse(forRelationshipKey:)](foundation/nsclassdescription/inverse(forrelationshipkey:).md)
- [toOneRelationshipKeys](foundation/nsclassdescription/toonerelationshipkeys.md)
