0 out of 3 rated this helpful - Rate this topic

FileIO.WriteBytesAsync | writeBytesAsync method

Writes an array of bytes of data to the specified file.

Syntax


public:
static IAsyncAction^ WriteBytesAsync(
  IStorageFile^ file, 
  Array<unsigned char>^ buffer
)

Parameters

file

Type: IStorageFile

The file that the byte is written to.

buffer

Type: array of Number [JavaScript] | System.Byte[] [.NET] | Platform::Array<uint8> [C++]

The array of bytes to write.

Return value

Type: IAsyncAction

No object or value is returned when this method completes.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.Storage
Windows::Storage [C++]

Metadata

Windows.winmd

See also

FileIO

 

 

Build date: 5/16/2013

© 2013 Microsoft. All rights reserved.