## FileSystem.WriteFile method

Create a stream for writing dependencies.

```csharp
public abstract Stream WriteFile(string fileName, IOConfig options)
```

| Parameter | Type | Description |
| --- | --- | --- |
| fileName | String | The file's name to open for writing |
| options | IOConfig | Save or load options |

### Return Value

Stream for writing the file

### Exceptions

| exception | condition |
| --- | --- |
| IOException | Thrown when failed to open stream for writing |

### See Also

* class [IOConfig](../../../aspose.threed.formats/ioconfig/)
* class [FileSystem](../)
* namespace [Aspose.ThreeD.Utilities](../../filesystem/)
* assembly [Aspose.3D](../../../)


