---
title: delegate
framework: virtualization
role: symbol
role_heading: Instance Property
path: virtualization/vzvirtioconsoledevice/delegate
---

# delegate

The delegate object for the console device.

## Declaration

```swift
weak var delegate: (any VZVirtioConsoleDeviceDelegate)? { get set }
```

## See Also

### Configuring the console

- [ports](virtualization/vzvirtioconsoledevice/ports.md)
- [VZVirtioConsoleDeviceDelegate](virtualization/vzvirtioconsoledevicedelegate.md)
