---
title: CFAttributedStringGetTypeID()
framework: corefoundation
role: symbol
role_heading: Function
path: corefoundation/cfattributedstringgettypeid()
---

# CFAttributedStringGetTypeID()

Returns the type identifier for the CFAttributedString opaque type.

## Declaration

```swift
func CFAttributedStringGetTypeID() -> CFTypeID
```

## Return Value

Return Value The type identifier for the CFAttributedString opaque type.

## Discussion

Discussion CFMutableAttributedString objects have the same type identifier as CFAttributedString objects.
