---
title: ABSearchElement
framework: addressbook
role: symbol
role_heading: Class
path: addressbook/absearchelement
---

# ABSearchElement

An object you use to specify a search query for records in the Address Book database.

## Declaration

```swift
class ABSearchElement
```

## Overview

Overview The ABSearchElement class is “toll-free bridged” with its procedural C opaque-type counterpart. This means that the ABSearchElementRef type is interchangeable in function or method calls with instances of the ABSearchElement class.

## Topics

### Searching

- [init(forConjunction:children:)](addressbook/absearchelement/init(forconjunction:children:).md)

### Matching

- [matchesRecord(_:)](addressbook/absearchelement/matchesrecord(_:).md)

### Constants

- [ABSearchConjunction](addressbook/absearchconjunction.md)
- [ABSearchComparison](addressbook/absearchcomparison.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Search Elements

- [ABSearchElementRef](addressbook/absearchelementref.md)
