Buffer.CopyTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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