---
title: CFStringGetTypeID()
framework: corefoundation
role: symbol
role_heading: Function
path: corefoundation/cfstringgettypeid()
---

# CFStringGetTypeID()

Returns the type identifier for the CFString opaque type.

## Declaration

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

## Return Value

Return Value The type identifier for the CFString opaque type.

## Discussion

Discussion CFMutableString objects have the same type identifier as CFString objects.

## See Also

### Getting String Properties

- [CFShowStr(_:)](corefoundation/cfshowstr(_:).md)
