---
title: "highlightProperty(withKey:identifier:)"
framework: contactsui
role: symbol
role_heading: Instance Method
path: "contactsui/cncontactviewcontroller/highlightproperty(withkey:identifier:)"
---

# highlightProperty(withKey:identifier:)

Highlights the property of the contact being displayed.

## Declaration

```swift
func highlightProperty(withKey key: String, identifier: String?)
```

## Parameters

- `key`: Key of the property to highlight.
- `identifier`: property is a multivalue property, the value to highlight.

## Discussion

Discussion When a single value property key is specified, identifier will be ignored.
