---
title: "init(rawValue:)"
framework: foundation
role: symbol
role_heading: Initializer
path: "foundation/progress/fileoperationkind-swift.struct/init(rawvalue:)"
---

# init(rawValue:)

Creates a new kind of file operation using the raw value of a string you specify.

## Declaration

```swift
init(rawValue: String)
```

## Parameters

- `rawValue`: A string that represents the kind of file operation.

## See Also

### Creating Kinds of File Operation

- [init(_:)](foundation/progress/fileoperationkind-swift.struct/init(_:).md)
