StreamedFileDataRequest.WriteAsync(IBuffer) 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.
Writes data from a buffer to the current stream.
public:
virtual IAsyncOperationWithProgress<unsigned int, unsigned int> ^ WriteAsync(IBuffer ^ buffer) = WriteAsync;
IAsyncOperationWithProgress<uint32_t, uint32_t> WriteAsync(IBuffer const& buffer);
public IAsyncOperationWithProgress<uint,uint> WriteAsync(IBuffer buffer);
function writeAsync(buffer)
Public Function WriteAsync (buffer As IBuffer) As IAsyncOperationWithProgress(Of UInteger, UInteger)
Parameters
- buffer
- IBuffer
The buffer that contains the data to write.
Returns
Windows.Foundation.IAsyncOperationWithProgress<unsigned int,unsigned int>
IAsyncOperationWithProgress<uint32_t,uint32_t>
When this method completes, it returns the number of bytes (type UInt32) that were written to the stream. If the app specifies a function to monitor progress, that function receives the number of bytes (type UInt32) written so far.
Implements
Applies to
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla