
## AddFile {#addfile}

Adds a file into pst folder.

**Returns:** The string that represents the EntryId of the added message.

```cpp
AddFile(System::String fileName, System::String messageClass)
```

| Parameter | Description |
| --- | --- |
| fileName | The name of file necessary to add. |
| messageClass | The message class. |

