# WriteToStream(TextWriter)

> Writes the document contents to the specified text writer.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.iOS.Xcode](/engine/6000.5/script-reference/unityeditor/ios/xcode.md)
* **Assembly:** UnityEditor.iOS.Extensions.Xcode

```csharp
public void WriteToStream(TextWriter tw)
```

### Parameters

**** (\[TextWriter]\(https\://learn.microsoft.com/dotnet/api/system.io.textwriter)): Text writer to write to.
