IPictureWriter.SaveAsync(IPicture, Stream) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronously saves a picture to the specified stream.
public:
System::Threading::Tasks::Task ^ SaveAsync(Microsoft::Maui::Graphics::IPicture ^ picture, System::IO::Stream ^ stream);
public System.Threading.Tasks.Task SaveAsync(Microsoft.Maui.Graphics.IPicture picture, System.IO.Stream stream);
abstract member SaveAsync : Microsoft.Maui.Graphics.IPicture * System.IO.Stream -> System.Threading.Tasks.Task
Public Function SaveAsync (picture As IPicture, stream As Stream) As Task
Parameters
- picture
- IPicture
The picture to save.
- stream
- Stream
The stream to save the picture to.
Returns
A task representing the asynchronous save operation.