PathIO.WriteBytesAsync(String, Byte[]) メソッド

定義

指定したパスまたは Uniform Resource Identifier (URI) の 1 バイトのデータをファイルに書き込みます。

public:
 static IAsyncAction ^ WriteBytesAsync(Platform::String ^ absolutePath, Platform::Array <byte> ^ buffer);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncAction WriteBytesAsync(winrt::hstring const& absolutePath, winrt::array_view <byte> const& buffer);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction WriteBytesAsync(string absolutePath, byte[] buffer);
function writeBytesAsync(absolutePath, buffer)
Public Shared Function WriteBytesAsync (absolutePath As String, buffer As Byte()) As IAsyncAction

パラメーター

absolutePath
String

Platform::String

winrt::hstring

バイトが書き込まれるファイルのパス。

buffer

Byte[]

byte[]

書き込むバイトの配列。

戻り値

このメソッドが完了すると、オブジェクトまたは値は返されません。

属性

適用対象