System::Runtime::InteropServices::Marshal::Copy Methode
Marshal::Copy(const container&, int, IntPtr, int) method
Implementiert public static void Copy(char[] source, int startIndex, IntPtr destination, int length).
template<typename container> static void System::Runtime::InteropServices::Marshal::Copy(const container &source, int startIndex, IntPtr destination, int length)
| Parameter | Beschreibung |
|---|
| Container | Quell-Container-Typ. |
| Parameter | Typ | Beschreibung |
|---|
| Quelle | const container& | Zeiger auf Quelldaten. |
| startIndex | int | Startindex der Quelle. |
| destination | IntPtr | Zeiger auf Zieldaten. |
| Länge | int | Anzahl der zu kopierenden Elemente. |
Siehe auch
Marshal::Copy(const container&, int, void *, int) method
Implementiert public static void Copy(char[] source, int startIndex, IntPtr destination, int length).
template<typename container> static void System::Runtime::InteropServices::Marshal::Copy(const container &source, int startIndex, void *destination, int length)
| Parameter | Beschreibung |
|---|
| Container | Quell-Container-Typ. |
| Parameter | Typ | Beschreibung |
|---|
| Quelle | const container& | Zeiger auf Quelldaten. |
| startIndex | int | Startindex der Quelle. |
| destination | void * | Zeiger auf Zieldaten. |
| Länge | int | Anzahl der zu kopierenden Elemente. |
Siehe auch
Marshal::Copy(const IntPtr, container&&, int, int) method
Implementiert die Semantik von public static void Copy(IntPtr source, byte[] destination, int startIndex, int length).
template<typename container> static void System::Runtime::InteropServices::Marshal::Copy(const IntPtr source, container &&destination, int startIndex, int length)
| Parameter | Beschreibung |
|---|
| Container | Ziel-Container-Typ. |
| Parameter | Typ | Beschreibung |
|---|
| Quelle | const IntPtr | Zeiger auf Quelldaten. |
| destination | container&& | Container, in den Daten kopiert werden. |
| startIndex | int | Startindex der Quelle. |
| Länge | int | Anzahl der zu kopierenden Elemente. |
Siehe auch
Marshal::Copy(const void *, container&&, int, int) method
Implementiert die Semantik von public static void Copy(IntPtr source, byte[] destination, int startIndex, int length).
template<typename container> static void System::Runtime::InteropServices::Marshal::Copy(const void *source, container &&destination, int startIndex, int length)
| Parameter | Beschreibung |
|---|
| Container | Ziel-Container-Typ. |
| Parameter | Typ | Beschreibung |
|---|
| Quelle | const void * | Zeiger auf Quelldaten. |
| destination | container&& | Container, in den Daten kopiert werden. |
| startIndex | int | Startindex der Quelle. |
| Länge | int | Anzahl der zu kopierenden Elemente. |
Siehe auch