'Declaration
Public Function LoadFromStreamAsync( _ ByVal stream As System.IO.Stream, _ ByVal documentFormat As NGridFormat(Of NTableGridDocument,NTableGrid), _ ByVal loadSettings As NGridLoadSettings, _ ByVal reportErrors As System.Boolean, _ ByVal askToSaveChanges As System.Boolean _ ) As NPromise(Of Boolean)
'Usage
Dim instance As NTableGridViewControl Dim stream As System.IO.Stream Dim documentFormat As NGridFormat(Of NTableGridDocument,NTableGrid) Dim loadSettings As NGridLoadSettings Dim reportErrors As System.Boolean Dim askToSaveChanges As System.Boolean Dim value As NPromise(Of Boolean) value = instance.LoadFromStreamAsync(stream, documentFormat, loadSettings, reportErrors, askToSaveChanges)
public NPromise<bool> LoadFromStreamAsync( System.IO.Stream stream, NGridFormat<NTableGridDocument,NTableGrid> documentFormat, NGridLoadSettings loadSettings, System.bool reportErrors, System.bool askToSaveChanges )
Parameters
- stream
- documentFormat
- loadSettings
- reportErrors
- askToSaveChanges