---
title: "init(rawValue:)"
framework: foundation
role: symbol
role_heading: Initializer
path: "foundation/filemanager/unmountoptions/init(rawvalue:)"
---

# init(rawValue:)

Creates an unmount option set from the given raw value.

## Declaration

```swift
init(rawValue: UInt)
```

## See Also

### Unmount Behavior

- [allPartitionsAndEjectDisk](foundation/filemanager/unmountoptions/allpartitionsandejectdisk.md)
- [withoutUI](foundation/filemanager/unmountoptions/withoutui.md)
