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


Implementa il metodo 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)
```


| Parametro | Descrizione |
| --- | --- |
| contenitore | Tipo di contenitore di origine. |

| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| origine | const container\& | Puntatore ai dati di origine. |
| startIndex | int | Indice di inizio della sorgente. |
| destination | IntPtr | Puntatore ai dati di destinazione. |
| length | int | Numero di elementi da copiare. |

## Vedi anche

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


Implementa il metodo 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)
```


| Parametro | Descrizione |
| --- | --- |
| contenitore | Tipo di contenitore di origine. |

| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| origine | const container\& | Puntatore ai dati di origine. |
| startIndex | int | Indice di inizio della sorgente. |
| destination | void * | Puntatore ai dati di destinazione. |
| length | int | Numero di elementi da copiare. |

## Vedi anche

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


Implementa la semantica del metodo 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)
```


| Parametro | Descrizione |
| --- | --- |
| contenitore | Tipo di contenitore di destinazione. |

| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| origine | const IntPtr | Puntatore ai dati di origine. |
| destination | container\&& | Contenitore in cui copiare i dati. |
| startIndex | int | Indice di inizio della sorgente. |
| length | int | Numero di elementi da copiare. |

## Vedi anche

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


Implementa la semantica del metodo 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)
```


| Parametro | Descrizione |
| --- | --- |
| contenitore | Tipo di contenitore di destinazione. |

| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| origine | const void * | Puntatore ai dati di origine. |
| destination | container\&& | Contenitore in cui copiare i dati. |
| startIndex | int | Indice di inizio della sorgente. |
| length | int | Numero di elementi da copiare. |

## Vedi anche

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