---
title: "propertyDataSize(address:qualifier:)"
framework: Core Audio
role: symbol
role_heading: Instance Method
platforms: [macOS 15.0+]
path: "coreaudio/audiohardwareobject/propertydatasize(address:qualifier:)"
---

# propertyDataSize(address:qualifier:)

Queries an AudioHardwareObject to find the size of the data for the given property.

## Declaration

```swift
func propertyDataSize(address: AudioObjectPropertyAddress, qualifier: Data? = nil) throws -> Int
```

## Parameters

- `address`: An AudioObjectPropertyAddress indicating which property is being queried.
- `qualifier`: A buffer of data to be used in determining the data of the property being queried. Note that not all properties require qualification, in which case this value will be nil.

## Return Value

Return Value An Int  indicating how many bytes the data for the given property occupies.
