---
title: OSCollectionTypeID
framework: driverkit
role: symbol
role_heading: Function
path: driverkit/oscollectiontypeid
---

# OSCollectionTypeID

## Declaration

```occ
OSCollectionType OSCollectionTypeID(OSObjectPtr obj);
```

## See Also

### Getting Type Information

- [OSCollectionTypeName](driverkit/oscollectiontypename.md)
- [Collection Types](driverkit/3180990-collection_types.md)
- [OSCollectionType](driverkit/oscollectiontype.md)
