---
title: CFURLGetTypeID()
framework: corefoundation
role: symbol
role_heading: Function
path: corefoundation/cfurlgettypeid()
---

# CFURLGetTypeID()

Returns the type identifier for the CFURL opaque type.

## Declaration

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

## Return Value

Return Value The type identifier for the CFURL opaque type.

## See Also

### Getting URL Properties

- [CFURLGetBaseURL(_:)](corefoundation/cfurlgetbaseurl(_:).md)
- [CFURLGetBytes(_:_:_:)](corefoundation/cfurlgetbytes(_:_:_:).md)
- [CFURLGetByteRangeForComponent(_:_:_:)](corefoundation/cfurlgetbyterangeforcomponent(_:_:_:).md)
- [CFURLResourceIsReachable(_:_:)](corefoundation/cfurlresourceisreachable(_:_:).md)
