---
title: GetName
framework: audiodriverkit
role: symbol
role_heading: Instance Method
path: audiodriverkit/iouseraudioobject/getname
---

# GetName

Gets the name of the object.

## Declaration

```occ
OSSharedPtr<OSString> GetName();
```

## Return Value

Return Value A OSSharedPtr to an OSString containing the object name.

## Discussion

Discussion Getting the name synchronizes by using the work queue created by the object.

## See Also

### Working with Object Names

- [SetName](audiodriverkit/iouseraudioobject/setname.md)
