Saves the current editor content to the stream asynchronously.
public System.Threading.Tasks.Task SaveDocumentAsync(
System.IO.Stream ,
System.bool
)
'Declaration
Public Function SaveDocumentAsync( _
ByVal As System.IO.Stream, _
Optional ByVal As System.Boolean _
) As System.Threading.Tasks.Task
Parameters
- stream
- Stream to save the content.
- leaveOpen
- true to leave the stream open after the System.IO.BinaryReader object is disposed; otherwise, false.