WindowsRuntimeBufferExtensions.CopyTo メソッド

定義

オーバーロード

名前 説明
CopyTo(Byte[], IBuffer)

ソース配列からコピー先バッファー (Windowsに、すべてのバイトをコピーします。Storage.Streams.IBuffer。両方のオフセット 0 (ゼロ) から始まります。 メソッドは、コピー先バッファーの長さを更新しません。

CopyTo(IBuffer, Byte[])

ソース バッファー (Windows からすべてのバイトをコピーします。Storage.Streams.IBuffer) をコピー先の配列に移動します。両方のオフセット 0 (ゼロ) から始まります。

CopyTo(IBuffer, IBuffer)

ソース バッファー (Windows からすべてのバイトをコピーします。Storage.Streams.IBuffer) は、両方のオフセット 0 (ゼロ) から始まる宛先バッファーに移動します。

CopyTo(Byte[], Int32, IBuffer, UInt32, Int32)

ソース配列からコピー先バッファー (Windowsにバイトをコピーします。Storage.Streams.IBuffer)、ソース配列の開始インデックス、コピー先バッファーの開始インデックス、およびコピーするバイト数を指定します。 メソッドは、変換先バッファーの Length プロパティを更新しません。

CopyTo(IBuffer, UInt32, Byte[], Int32, Int32)

ソース バッファー (Windows からバイトをコピーします。コピー先の配列への Storage.Streams.IBuffer) を指定します。ソース バッファー内の開始インデックス、コピー先配列の開始インデックス、コピーするバイト数を指定します。

CopyTo(IBuffer, UInt32, IBuffer, UInt32, UInt32)

ソース バッファー (Windows からバイトをコピーします。Storage.Streams.IBuffer) をコピー先バッファーに移動します。ソースの開始インデックス、コピー先の開始インデックス、コピーするバイト数を指定します。

CopyTo(Byte[], IBuffer)

重要

この API は CLS 準拠ではありません。

ソース配列からコピー先バッファー (Windowsに、すべてのバイトをコピーします。Storage.Streams.IBuffer。両方のオフセット 0 (ゼロ) から始まります。 メソッドは、コピー先バッファーの長さを更新しません。

public:
[System::Runtime::CompilerServices::Extension]
 static void CopyTo(cli::array <System::Byte> ^ source, Windows::Storage::Streams::IBuffer ^ destination);
[System.CLSCompliant(false)]
public static void CopyTo(this byte[] source, Windows.Storage.Streams.IBuffer destination);
[<System.CLSCompliant(false)>]
static member CopyTo : byte[] * Windows.Storage.Streams.IBuffer -> unit
<Extension()>
Public Sub CopyTo (source As Byte(), destination As IBuffer)

パラメーター

source
Byte[]

データのコピー元の配列。

destination
Windows.Storage.Streams.IBuffer

データのコピー先のバッファー。

属性

例外

source または destination が null です。

sourceのサイズがdestinationの容量を超えています。

適用対象

CopyTo(IBuffer, Byte[])

重要

この API は CLS 準拠ではありません。

ソース バッファー (Windows からすべてのバイトをコピーします。Storage.Streams.IBuffer) をコピー先の配列に移動します。両方のオフセット 0 (ゼロ) から始まります。

public:
[System::Runtime::CompilerServices::Extension]
 static void CopyTo(Windows::Storage::Streams::IBuffer ^ source, cli::array <System::Byte> ^ destination);
[System.CLSCompliant(false)]
public static void CopyTo(this Windows.Storage.Streams.IBuffer source, byte[] destination);
[<System.CLSCompliant(false)>]
static member CopyTo : Windows.Storage.Streams.IBuffer * byte[] -> unit
<Extension()>
Public Sub CopyTo (source As IBuffer, destination As Byte())

パラメーター

source
Windows.Storage.Streams.IBuffer

データのコピー元のバッファー。

destination
Byte[]

データのコピー先の配列。

属性

例外

source または destination が null です。

sourceのサイズがdestinationのサイズを超えています。

適用対象

CopyTo(IBuffer, IBuffer)

重要

この API は CLS 準拠ではありません。

ソース バッファー (Windows からすべてのバイトをコピーします。Storage.Streams.IBuffer) は、両方のオフセット 0 (ゼロ) から始まる宛先バッファーに移動します。

public:
[System::Runtime::CompilerServices::Extension]
 static void CopyTo(Windows::Storage::Streams::IBuffer ^ source, Windows::Storage::Streams::IBuffer ^ destination);
[System.CLSCompliant(false)]
public static void CopyTo(this Windows.Storage.Streams.IBuffer source, Windows.Storage.Streams.IBuffer destination);
[<System.CLSCompliant(false)>]
static member CopyTo : Windows.Storage.Streams.IBuffer * Windows.Storage.Streams.IBuffer -> unit
<Extension()>
Public Sub CopyTo (source As IBuffer, destination As IBuffer)

パラメーター

source
Windows.Storage.Streams.IBuffer

ソース バッファー。

destination
Windows.Storage.Streams.IBuffer

宛先バッファー。

属性

例外

source または destination が null です。

sourceのサイズがdestinationの容量を超えています。

適用対象

CopyTo(Byte[], Int32, IBuffer, UInt32, Int32)

重要

この API は CLS 準拠ではありません。

ソース配列からコピー先バッファー (Windowsにバイトをコピーします。Storage.Streams.IBuffer)、ソース配列の開始インデックス、コピー先バッファーの開始インデックス、およびコピーするバイト数を指定します。 メソッドは、変換先バッファーの Length プロパティを更新しません。

public:
[System::Runtime::CompilerServices::Extension]
 static void CopyTo(cli::array <System::Byte> ^ source, int sourceIndex, Windows::Storage::Streams::IBuffer ^ destination, System::UInt32 destinationIndex, int count);
[System.CLSCompliant(false)]
public static void CopyTo(this byte[] source, int sourceIndex, Windows.Storage.Streams.IBuffer destination, uint destinationIndex, int count);
[<System.CLSCompliant(false)>]
static member CopyTo : byte[] * int * Windows.Storage.Streams.IBuffer * uint32 * int -> unit
<Extension()>
Public Sub CopyTo (source As Byte(), sourceIndex As Integer, destination As IBuffer, destinationIndex As UInteger, count As Integer)

パラメーター

source
Byte[]

データのコピー元の配列。

sourceIndex
Int32

データのコピーを開始する source 内のインデックス。

destination
Windows.Storage.Streams.IBuffer

データのコピー先のバッファー。

destinationIndex
UInt32

データのコピーを開始する destination 内のインデックス。

count
Int32

コピーするバイト数。

属性

例外

source または destination が null です。

countsourceIndex、または destinationIndex が 0 (ゼロ) 未満です。

sourceIndexsourceの長さ以上です。 または、sourceから始まるsourceIndexのバイト数がcount未満です。 または、count から始まる destinationIndex バイトをコピーすると、destinationの容量を超える可能性があります。

適用対象

CopyTo(IBuffer, UInt32, Byte[], Int32, Int32)

重要

この API は CLS 準拠ではありません。

ソース バッファー (Windows からバイトをコピーします。コピー先の配列への Storage.Streams.IBuffer) を指定します。ソース バッファー内の開始インデックス、コピー先配列の開始インデックス、コピーするバイト数を指定します。

public:
[System::Runtime::CompilerServices::Extension]
 static void CopyTo(Windows::Storage::Streams::IBuffer ^ source, System::UInt32 sourceIndex, cli::array <System::Byte> ^ destination, int destinationIndex, int count);
[System.CLSCompliant(false)]
public static void CopyTo(this Windows.Storage.Streams.IBuffer source, uint sourceIndex, byte[] destination, int destinationIndex, int count);
[<System.CLSCompliant(false)>]
static member CopyTo : Windows.Storage.Streams.IBuffer * uint32 * byte[] * int * int -> unit
<Extension()>
Public Sub CopyTo (source As IBuffer, sourceIndex As UInteger, destination As Byte(), destinationIndex As Integer, count As Integer)

パラメーター

source
Windows.Storage.Streams.IBuffer

データのコピー元のバッファー。

sourceIndex
UInt32

データのコピーを開始する source 内のインデックス。

destination
Byte[]

データのコピー先の配列。

destinationIndex
Int32

データのコピーを開始する destination 内のインデックス。

count
Int32

コピーするバイト数。

属性

例外

source または destination が null です。

countsourceIndex、または destinationIndex が 0 (ゼロ) 未満です。

sourceIndex は、 sourceの容量以上です。 or-destinationIndex は、 destinationの長さ以上です。 または、sourceから始まるsourceIndexのバイト数がcount未満です。 または、count から始まる destinationIndex バイトをコピーすると、destinationのサイズを超えます。

適用対象

CopyTo(IBuffer, UInt32, IBuffer, UInt32, UInt32)

重要

この API は CLS 準拠ではありません。

ソース バッファー (Windows からバイトをコピーします。Storage.Streams.IBuffer) をコピー先バッファーに移動します。ソースの開始インデックス、コピー先の開始インデックス、コピーするバイト数を指定します。

public:
[System::Runtime::CompilerServices::Extension]
 static void CopyTo(Windows::Storage::Streams::IBuffer ^ source, System::UInt32 sourceIndex, Windows::Storage::Streams::IBuffer ^ destination, System::UInt32 destinationIndex, System::UInt32 count);
[System.CLSCompliant(false)]
public static void CopyTo(this Windows.Storage.Streams.IBuffer source, uint sourceIndex, Windows.Storage.Streams.IBuffer destination, uint destinationIndex, uint count);
[<System.CLSCompliant(false)>]
static member CopyTo : Windows.Storage.Streams.IBuffer * uint32 * Windows.Storage.Streams.IBuffer * uint32 * uint32 -> unit
<Extension()>
Public Sub CopyTo (source As IBuffer, sourceIndex As UInteger, destination As IBuffer, destinationIndex As UInteger, count As UInteger)

パラメーター

source
Windows.Storage.Streams.IBuffer

データのコピー元のバッファー。

sourceIndex
UInt32

データのコピーを開始する source 内のインデックス。

destination
Windows.Storage.Streams.IBuffer

データのコピー先のバッファー。

destinationIndex
UInt32

データのコピーを開始する destination 内のインデックス。

count
UInt32

コピーするバイト数。

属性

例外

source または destination が null です。

countsourceIndex、または destinationIndex が 0 (ゼロ) 未満です。

sourceIndex は、 sourceの容量以上です。 or-destinationIndex は、 destinationの容量以上です。 または、sourceから始まるsourceIndexのバイト数がcount未満です。 または、count から始まる destinationIndex バイトをコピーすると、destinationの容量を超える可能性があります。

適用対象