Buffer.CopyTo Method

Definition

Overloads

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

CopyTo(Byte[], Int32, Int32)

public:
 void CopyTo(cli::array <System::Byte> ^ destinationArray, int destinationIndex, int length);
public void CopyTo (byte[] destinationArray, int destinationIndex, int length);
member this.CopyTo : byte[] * int * int -> unit
Public Sub CopyTo (destinationArray As Byte(), destinationIndex As Integer, length As Integer)

Parameters

destinationArray
Byte[]
destinationIndex
Int32
length
Int32

Applies to

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

public:
 void CopyTo(cli::array <System::Byte> ^ destinationArray, int destinationIndex, int length, int sourceIndex);
public void CopyTo (byte[] destinationArray, int destinationIndex, int length, int sourceIndex);
member this.CopyTo : byte[] * int * int * int -> unit
Public Sub CopyTo (destinationArray As Byte(), destinationIndex As Integer, length As Integer, sourceIndex As Integer)

Parameters

destinationArray
Byte[]
destinationIndex
Int32
length
Int32
sourceIndex
Int32

Applies to