---
title: MDSchemaCopyAllAttributes()
framework: coreservices
role: symbol
role_heading: Function
path: coreservices/1445665-mdschemacopyallattributes
---

# MDSchemaCopyAllAttributes()

Returns an array containing all the metadata attributesdefined in the schema.

## Declaration

```swift
func MDSchemaCopyAllAttributes() -> CFArray!
```

## See Also

### MDSchema Miscellaneous Functions

- [MDSchemaCopyAttributesForContentType(_:)](coreservices/1444459-mdschemacopyattributesforcontent.md)
- [MDSchemaCopyDisplayDescriptionForAttribute(_:)](coreservices/1442582-mdschemacopydisplaydescriptionfo.md)
- [MDSchemaCopyDisplayNameForAttribute(_:)](coreservices/1450203-mdschemacopydisplaynameforattrib.md)
- [MDSchemaCopyMetaAttributesForAttribute(_:)](coreservices/1450052-mdschemacopymetaattributesforatt.md)
