ISaveFilePicker.SaveAsync(Stream, String, PredefinedFileType) Method
Saves the stream asynchronously. The method returns the Task that is completed when the save operation is finished or canceled.
Namespace: DevExpress.Maui.Mvvm
Assembly: DevExpress.Maui.Mvvm.dll
NuGet Package: DevExpress.Maui.Mvvm
Declaration
Task<bool> SaveAsync(
Stream stream,
string fileName,
PredefinedFileType fileType = PredefinedFileType.Any
)
Parameters
Name | Type | Description |
---|---|---|
stream | Stream | A stream. |
fileName | String | The file name. |
Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
fileType | PredefinedFileType | Any | The file type. |
Returns
Type | Description |
---|---|
Task<Boolean> | An operation that executes asynchronously and completes when the save operation is finished. The |
See Also