Editor for WinForms | ComponentOne
C1.Win.Editor.8 Assembly / C1.Win.Editor Namespace / C1Editor Class / SaveDocumentAsync Method
Stream to save the content.
true to leave the stream open after the System.IO.BinaryReader object is disposed; otherwise, false.

In This Topic
    SaveDocumentAsync Method
    In This Topic
    Saves the current editor content to the stream asynchronously.
    Syntax
    'Declaration
     
    Public Function SaveDocumentAsync( _
       ByVal stream As System.IO.Stream, _
       Optional ByVal leaveOpen As System.Boolean _
    ) As System.Threading.Tasks.Task
    public System.Threading.Tasks.Task SaveDocumentAsync( 
       System.IO.Stream stream,
       System.bool leaveOpen
    )

    Parameters

    stream
    Stream to save the content.
    leaveOpen
    true to leave the stream open after the System.IO.BinaryReader object is disposed; otherwise, false.
    See Also