---
title: "CFLocaleCopyDisplayNameForPropertyValue(_:_:_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cflocalecopydisplaynameforpropertyvalue(_:_:_:)"
---

# CFLocaleCopyDisplayNameForPropertyValue(_:_:_:)

Returns the display name for the given value.

## Declaration

```swift
func CFLocaleCopyDisplayNameForPropertyValue(_ displayLocale: CFLocale!, _ key: CFLocaleKey!, _ value: CFString!) -> CFString!
```

## Parameters

- `displayLocale`: A locale object.
- `key`: A string that identifies the type that value is. It must be one of the standard locale property keys (see doc://com.apple.corefoundation/documentation/CoreFoundation/locale-property-keys).
- `value`: The value for which the display name is required.

## Return Value

Return Value The display name for value. Returns NULL if there was a problem creating the object. Ownership follows the The Create Rule.

## Discussion

Discussion Note that not all locale property keys have values with display name values.

## See Also

### Getting Information About a Locale

- [CFLocaleGetValue(_:_:)](corefoundation/cflocalegetvalue(_:_:).md)
- [CFLocaleGetIdentifier(_:)](corefoundation/cflocalegetidentifier(_:).md)
