---
title: defaultSubcontainerAttributeKey
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsscriptclassdescription/defaultsubcontainerattributekey
---

# defaultSubcontainerAttributeKey

Returns the value of the DefaultSubcontainerAttribute entry of the class dictionary from which the receiver was instantiated.

## Declaration

```swift
var defaultSubcontainerAttributeKey: String? { get }
```

## Return Value

Return Value The value of the default subcontainer attribute entry. Returns nil if the there was no such entry.

## See Also

### Getting basic information about the script class

- [className](foundation/nsscriptclassdescription/classname.md)
- [implementationClassName](foundation/nsscriptclassdescription/implementationclassname.md)
- [isLocationRequiredToCreate(forKey:)](foundation/nsscriptclassdescription/islocationrequiredtocreate(forkey:).md)
- [suiteName](foundation/nsscriptclassdescription/suitename.md)
