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

# init(rawValue:)

Creates a value for a file replacement operation.

## Declaration

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

## Parameters

- `rawValue`: An initial value for the structure composed as the bitwise OR of zero or more of the valid values.

## See Also

### Using File Replacement Options

- [usingNewMetadataOnly](foundation/filemanager/itemreplacementoptions/usingnewmetadataonly.md)
- [withoutDeletingBackupItem](foundation/filemanager/itemreplacementoptions/withoutdeletingbackupitem.md)
