---
title: tag
framework: virtualization
role: symbol
role_heading: Instance Property
path: virtualization/vzvirtiofilesystemdevice/tag
---

# tag

A string that identifies the device.

## Declaration

```swift
var tag: String { get }
```

## Discussion

Discussion The system presents the tag as a label in the guest VM that identifies this device that’s available for mounting.

## See Also

### Accessing directory properties

- [share](virtualization/vzvirtiofilesystemdevice/share.md)
