Saxon API for .NET

Serializer.SetOutputStream Method 

Specify the destination of the serialized output, in the form of a Stream

public void SetOutputStream(
   Stream stream
);

Parameters

stream
The stream to which the output will be written. This must be a stream that allows writing.

See Also

Serializer Class | Saxon.Api Namespace