Write the modified document to any writer.
Note that this allows you to write the document to a file, HTTP response or memory with full control.
If keepOpen is false, you cannot write more than once on the same document instance. After calling Document.Write() information in this instance can be incorrect.
public Void Write( BinaryWriter binaryWriter , Boolean keepOpen )