WindowsRuntimeBufferExtensions.CopyTo Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
| Name | Description |
|---|---|
| CopyTo(Byte[], IBuffer) |
Kopieert alle bytes van de bronmatrix naar de doelbuffer (Windows. Storage.Streams.IBuffer, beginnend bij offset 0 (nul) in beide. De methode werkt de lengte van de doelbuffer niet bij. |
| CopyTo(IBuffer, Byte[]) |
Kopieert alle bytes uit de bronbuffer (Windows. Storage.Streams.IBuffer) naar de doelmatrix, beginnend bij verschuiving 0 (nul) in beide. |
| CopyTo(IBuffer, IBuffer) |
Kopieert alle bytes uit de bronbuffer (Windows. Storage.Streams.IBuffer) naar de doelbuffer, beginnend bij verschuiving 0 (nul) in beide. |
| CopyTo(Byte[], Int32, IBuffer, UInt32, Int32) |
Kopieert bytes van de bronmatrix naar de doelbuffer (Windows. Storage.Streams.IBuffer), waarmee de beginindex in de bronmatrix, de beginindex in de doelbuffer en het aantal te kopiëren bytes wordt opgegeven. De methode werkt de eigenschap Length van de doelbuffer niet bij. |
| CopyTo(IBuffer, UInt32, Byte[], Int32, Int32) |
Kopieert bytes uit de bronbuffer (Windows. Storage.Streams.IBuffer) naar de doelmatrix, waarbij de beginindex in de bronbuffer, de beginindex in de doelmatrix en het aantal te kopiëren bytes wordt opgegeven. |
| CopyTo(IBuffer, UInt32, IBuffer, UInt32, UInt32) |
Kopieert bytes uit de bronbuffer (Windows. Storage.Streams.IBuffer) naar de doelbuffer, waarbij de beginindex in de bron, de beginindex in het doel en het aantal te kopiëren bytes wordt opgegeven. |
CopyTo(Byte[], IBuffer)
Belangrijk
Deze API is niet CLS-conform.
Kopieert alle bytes van de bronmatrix naar de doelbuffer (Windows. Storage.Streams.IBuffer, beginnend bij offset 0 (nul) in beide. De methode werkt de lengte van de doelbuffer niet bij.
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)
Parameters
- source
- Byte[]
De matrix waaruit gegevens moeten worden gekopieerd.
- destination
- Windows.Storage.Streams.IBuffer
De buffer om gegevens naar te kopiëren.
- Kenmerken
Uitzonderingen
source of destination null is.
De grootte van source de waarde overschrijdt de capaciteit van destination.
Van toepassing op
CopyTo(IBuffer, Byte[])
Belangrijk
Deze API is niet CLS-conform.
Kopieert alle bytes uit de bronbuffer (Windows. Storage.Streams.IBuffer) naar de doelmatrix, beginnend bij verschuiving 0 (nul) in beide.
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())
Parameters
- source
- Windows.Storage.Streams.IBuffer
De buffer waaruit gegevens moeten worden gekopieerd.
- destination
- Byte[]
De matrix om gegevens naar te kopiëren.
- Kenmerken
Uitzonderingen
source of destination null is.
De grootte van source het bestand overschrijdt de grootte van destination.
Van toepassing op
CopyTo(IBuffer, IBuffer)
Belangrijk
Deze API is niet CLS-conform.
Kopieert alle bytes uit de bronbuffer (Windows. Storage.Streams.IBuffer) naar de doelbuffer, beginnend bij verschuiving 0 (nul) in beide.
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)
Parameters
- source
- Windows.Storage.Streams.IBuffer
De bronbuffer.
- destination
- Windows.Storage.Streams.IBuffer
De doelbuffer.
- Kenmerken
Uitzonderingen
source of destination null is.
De grootte van source de waarde overschrijdt de capaciteit van destination.
Van toepassing op
CopyTo(Byte[], Int32, IBuffer, UInt32, Int32)
Belangrijk
Deze API is niet CLS-conform.
Kopieert bytes van de bronmatrix naar de doelbuffer (Windows. Storage.Streams.IBuffer), waarmee de beginindex in de bronmatrix, de beginindex in de doelbuffer en het aantal te kopiëren bytes wordt opgegeven. De methode werkt de eigenschap Length van de doelbuffer niet bij.
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)
Parameters
- source
- Byte[]
De matrix waaruit gegevens moeten worden gekopieerd.
- sourceIndex
- Int32
De index begint source met het kopiëren van gegevens.
- destination
- Windows.Storage.Streams.IBuffer
De buffer om gegevens naar te kopiëren.
- destinationIndex
- UInt32
De index begint destination met het kopiëren van gegevens naar.
- count
- Int32
Het aantal te kopiëren bytes.
- Kenmerken
Uitzonderingen
source of destination null is.
count, sourceIndexof destinationIndex kleiner is dan 0 (nul).
sourceIndex is groter dan of gelijk aan de lengte van source. -of-Het aantal bytes in source, beginnend bij sourceIndex, is kleiner dan count. -or-Copying count bytes, beginnen bij destinationIndex, zou de capaciteit van destination.
Van toepassing op
CopyTo(IBuffer, UInt32, Byte[], Int32, Int32)
Belangrijk
Deze API is niet CLS-conform.
Kopieert bytes uit de bronbuffer (Windows. Storage.Streams.IBuffer) naar de doelmatrix, waarbij de beginindex in de bronbuffer, de beginindex in de doelmatrix en het aantal te kopiëren bytes wordt opgegeven.
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)
Parameters
- source
- Windows.Storage.Streams.IBuffer
De buffer waaruit gegevens moeten worden gekopieerd.
- sourceIndex
- UInt32
De index begint source met het kopiëren van gegevens.
- destination
- Byte[]
De matrix om gegevens naar te kopiëren.
- destinationIndex
- Int32
De index begint destination met het kopiëren van gegevens naar.
- count
- Int32
Het aantal te kopiëren bytes.
- Kenmerken
Uitzonderingen
source of destination null is.
count, sourceIndexof destinationIndex kleiner is dan 0 (nul).
sourceIndex is groter dan of gelijk aan de capaciteit van source. -of-destinationIndex is groter dan of gelijk aan de lengte van destination. -of-Het aantal bytes in source, beginnend bij sourceIndex, is kleiner dan count. -of-kopiëren van count bytes, beginnend bij destinationIndex, zou groter zijn dan de grootte van destination.
Van toepassing op
CopyTo(IBuffer, UInt32, IBuffer, UInt32, UInt32)
Belangrijk
Deze API is niet CLS-conform.
Kopieert bytes uit de bronbuffer (Windows. Storage.Streams.IBuffer) naar de doelbuffer, waarbij de beginindex in de bron, de beginindex in het doel en het aantal te kopiëren bytes wordt opgegeven.
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)
Parameters
- source
- Windows.Storage.Streams.IBuffer
De buffer waaruit gegevens moeten worden gekopieerd.
- sourceIndex
- UInt32
De index begint source met het kopiëren van gegevens.
- destination
- Windows.Storage.Streams.IBuffer
De buffer om gegevens naar te kopiëren.
- destinationIndex
- UInt32
De index begint destination met het kopiëren van gegevens naar.
- count
- UInt32
Het aantal te kopiëren bytes.
- Kenmerken
Uitzonderingen
source of destination null is.
count, sourceIndexof destinationIndex kleiner is dan 0 (nul).
sourceIndex is groter dan of gelijk aan de capaciteit van source. -of-destinationIndex is groter dan of gelijk aan de capaciteit van destination. -of-Het aantal bytes in source, beginnend bij sourceIndex, is kleiner dan count. -or-Copying count bytes, beginnen bij destinationIndex, zou de capaciteit van destination.