---
title: "CTRunDelegateGetRefCon(_:)"
framework: coretext
role: symbol
role_heading: Function
path: "coretext/ctrundelegategetrefcon(_:)"
---

# CTRunDelegateGetRefCon(_:)

Returns a run delegate’s “refCon” value.

## Declaration

```swift
func CTRunDelegateGetRefCon(_ runDelegate: CTRunDelegate) -> UnsafeMutableRawPointer
```

## Parameters

- `runDelegate`: The run delegate object being queried.

## Return Value

Return Value A constant value associated with the run delegate as an identifier.

## Discussion

Discussion The run delegate object was created with the returned “refCon” value.

## See Also

### Getting Information About a Run Delegate

- [CTRunDelegateGetTypeID()](coretext/ctrundelegategettypeid().md)
