IsolatedStorageFileStream.Write メソッド

定義

オーバーロード

Write(ReadOnlySpan<Byte>)

読み取り専用バイト スパンから構成されるバッファーから読み取られたデータを利用し、分離ストレージ ファイル ストリーム オブジェクトにバイトのブロックを書き込みます。

Write(Byte[], Int32, Int32)

バイト配列から構成されるバッファーから読み取られたデータを利用し、分離ストレージ ファイル ストリーム オブジェクトにバイトのブロックを書き込みます。

Write(ReadOnlySpan<Byte>)

ソース:
IsolatedStorageFileStream.cs
ソース:
IsolatedStorageFileStream.cs
ソース:
IsolatedStorageFileStream.cs

読み取り専用バイト スパンから構成されるバッファーから読み取られたデータを利用し、分離ストレージ ファイル ストリーム オブジェクトにバイトのブロックを書き込みます。

public:
 override void Write(ReadOnlySpan<System::Byte> buffer);
public override void Write (ReadOnlySpan<byte> buffer);
override this.Write : ReadOnlySpan<byte> -> unit
Public Overrides Sub Write (buffer As ReadOnlySpan(Of Byte))

パラメーター

buffer
ReadOnlySpan<Byte>

読み取り専用バイト スパンであり、ここから現在の分離ストレージ ファイル ストリームにバイトをコピーします。

適用対象

Write(Byte[], Int32, Int32)

ソース:
IsolatedStorageFileStream.cs
ソース:
IsolatedStorageFileStream.cs
ソース:
IsolatedStorageFileStream.cs

バイト配列から構成されるバッファーから読み取られたデータを利用し、分離ストレージ ファイル ストリーム オブジェクトにバイトのブロックを書き込みます。

public:
 override void Write(cli::array <System::Byte> ^ buffer, int offset, int count);
public override void Write (byte[] buffer, int offset, int count);
override this.Write : byte[] * int * int -> unit
Public Overrides Sub Write (buffer As Byte(), offset As Integer, count As Integer)

パラメーター

buffer
Byte[]

バイト配列であり、ここから現在の分離ストレージ ファイル ストリームにバイトをコピーします。

offset
Int32

buffer のバイト オフセットであり、ここから開始します。

count
Int32

書き込む最大バイト数。

例外

IsolatedStorageFileStream オブジェクトのクォータを超える書き込みが試行されています。

注釈

書き込み操作が成功した場合、オブジェクトの現在位置 IsolatedStorageFileStream は書き込まれたバイト数だけ進みます。 例外が発生した場合、オブジェクトの現在位置 IsolatedStorageFileStream は変更されません。

適用対象