---
title: "MDSchemaCopyDisplayNameForAttribute(_:)"
framework: coreservices
role: symbol
role_heading: Function
path: coreservices/1450203-mdschemacopydisplaynameforattrib
---

# MDSchemaCopyDisplayNameForAttribute(_:)

Returns the localized display name of a metadata attributekey.

## Declaration

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

## Parameters

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

## Return Value

Return Value The localized displayname of the metadata attribute, or NULL ifno localized display name is available.

## See Also

### MDSchema Miscellaneous Functions

- [MDSchemaCopyAllAttributes()](coreservices/1445665-mdschemacopyallattributes.md)
- [MDSchemaCopyAttributesForContentType(_:)](coreservices/1444459-mdschemacopyattributesforcontent.md)
- [MDSchemaCopyDisplayDescriptionForAttribute(_:)](coreservices/1442582-mdschemacopydisplaydescriptionfo.md)
- [MDSchemaCopyMetaAttributesForAttribute(_:)](coreservices/1450052-mdschemacopymetaattributesforatt.md)
