## Marshal::Copy(const container\&, int, IntPtr, int) method


Implementiert public static void Copy(char[] source, int startIndex, IntPtr destination, int length).

```cpp
template<typename container> static void System::Runtime::InteropServices::Marshal::Copy(const container &source, int startIndex, IntPtr destination, int length)
```


| Parameter | Beschreibung |
| --- | --- |
| Container | Quell-Containertyp. |

| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| Quelle | const container\& | Quell-Datenzeiger. |
| startIndex | int | Startindex der Quelle. |
| destination | IntPtr | Ziel-Datenzeiger. |
| Länge | int | Anzahl der zu kopierenden Elemente. |

## Siehe auch

* Class [Marshal](../)
* Namespace [System::Runtime::InteropServices](../../)
* Library [Aspose.Page for C++](../../../)
## Marshal::Copy(const container\&, int, void *, int) method


Implementiert public static void Copy(char[] source, int startIndex, IntPtr destination, int length).

```cpp
template<typename container> static void System::Runtime::InteropServices::Marshal::Copy(const container &source, int startIndex, void *destination, int length)
```


| Parameter | Beschreibung |
| --- | --- |
| Container | Quell-Containertyp. |

| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| Quelle | const container\& | Quell-Datenzeiger. |
| startIndex | int | Startindex der Quelle. |
| destination | void * | Ziel-Datenzeiger. |
| Länge | int | Anzahl der zu kopierenden Elemente. |

## Siehe auch

* Class [Marshal](../)
* Namespace [System::Runtime::InteropServices](../../)
* Library [Aspose.Page for C++](../../../)
## Marshal::Copy(const IntPtr, container\&&, int, int) method


Implementiert die Semantik von public static void Copy(IntPtr source, byte[] destination, int startIndex, int length).

```cpp
template<typename container> static void System::Runtime::InteropServices::Marshal::Copy(const IntPtr source, container &&destination, int startIndex, int length)
```


| Parameter | Beschreibung |
| --- | --- |
| Container | Ziel-Containertyp. |

| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| Quelle | const IntPtr | Quell-Datenzeiger. |
| destination | container\&& | Container, in den Daten kopiert werden. |
| startIndex | int | Startindex der Quelle. |
| Länge | int | Anzahl der zu kopierenden Elemente. |

## Siehe auch

* Class [Marshal](../)
* Namespace [System::Runtime::InteropServices](../../)
* Library [Aspose.Page for C++](../../../)
## Marshal::Copy(const void *, container\&&, int, int) method


Implementiert die Semantik von public static void Copy(IntPtr source, byte[] destination, int startIndex, int length).

```cpp
template<typename container> static void System::Runtime::InteropServices::Marshal::Copy(const void *source, container &&destination, int startIndex, int length)
```


| Parameter | Beschreibung |
| --- | --- |
| Container | Ziel-Containertyp. |

| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| Quelle | const void * | Quell-Datenzeiger. |
| destination | container\&& | Container, in den Daten kopiert werden. |
| startIndex | int | Startindex der Quelle. |
| Länge | int | Anzahl der zu kopierenden Elemente. |

## Siehe auch

* Class [Marshal](../)
* Namespace [System::Runtime::InteropServices](../../)
* Library [Aspose.Page for C++](../../../)
