---
title: CFWriteStreamGetTypeID()
framework: corefoundation
role: symbol
role_heading: Function
path: corefoundation/cfwritestreamgettypeid()
---

# CFWriteStreamGetTypeID()

Returns the type identifier of all CFWriteStream objects.

## Declaration

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

## Return Value

Return Value The type identifier for the CFWriteStream opaque type.
