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


Mengimplementasikan 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 | Deskripsi |
| --- | --- |
| kontainer | Tipe kontainer sumber. |

| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| sumber | const container\& | Penunjuk data sumber. |
| startIndex | int | Indeks mulai sumber. |
| destination | IntPtr | Penunjuk data tujuan. |
| length | int | Jumlah elemen yang akan disalin. |

## Lihat Juga

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


Mengimplementasikan 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 | Deskripsi |
| --- | --- |
| kontainer | Tipe kontainer sumber. |

| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| sumber | const container\& | Penunjuk data sumber. |
| startIndex | int | Indeks mulai sumber. |
| destination | void * | Penunjuk data tujuan. |
| length | int | Jumlah elemen yang akan disalin. |

## Lihat Juga

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


Mengimplementasikan semantik 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 | Deskripsi |
| --- | --- |
| kontainer | Tipe kontainer tujuan. |

| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| sumber | const IntPtr | Penunjuk data sumber. |
| destination | container\&& | Kontainer untuk menyalin data ke dalamnya. |
| startIndex | int | Indeks mulai sumber. |
| length | int | Jumlah elemen yang akan disalin. |

## Lihat Juga

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


Mengimplementasikan semantik 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 | Deskripsi |
| --- | --- |
| kontainer | Tipe kontainer tujuan. |

| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| sumber | const void * | Penunjuk data sumber. |
| destination | container\&& | Kontainer untuk menyalin data ke dalamnya. |
| startIndex | int | Indeks mulai sumber. |
| length | int | Jumlah elemen yang akan disalin. |

## Lihat Juga

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