---
title: "MDSchemaCopyDisplayDescriptionForAttribute(_:)"
framework: coreservices
role: symbol
role_heading: Function
path: coreservices/1442582-mdschemacopydisplaydescriptionfo
---

# MDSchemaCopyDisplayDescriptionForAttribute(_:)

Returns the localized description of a metadata attributekey.

## Declaration

```swift
func MDSchemaCopyDisplayDescriptionForAttribute(_ name: CFString!) -> CFString!
```

## Parameters

- `name`: The name of the metadata attribute key.

## Return Value

Return Value The localized descriptionof the metadata attribute, or NULL ifno localized description is available.

## See Also

### MDSchema Miscellaneous Functions

- [MDSchemaCopyAllAttributes()](coreservices/1445665-mdschemacopyallattributes.md)
- [MDSchemaCopyAttributesForContentType(_:)](coreservices/1444459-mdschemacopyattributesforcontent.md)
- [MDSchemaCopyDisplayNameForAttribute(_:)](coreservices/1450203-mdschemacopydisplaynameforattrib.md)
- [MDSchemaCopyMetaAttributesForAttribute(_:)](coreservices/1450052-mdschemacopymetaattributesforatt.md)
