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


يُنفّذ الدلالة العامة الثابتة 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 | الوصف |
| --- | --- |
| حاوية | نوع حاوية المصدر. |

| Parameter | Type | الوصف |
| --- | --- | --- |
| المصدر | const container\& | مؤشر بيانات المصدر. |
| startIndex | int | فهرس بدء المصدر. |
| destination | IntPtr | مؤشر بيانات الوجهة. |
| الطول | int | عدد العناصر للنسخ. |

## انظر أيضًا

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


يُنفّذ الدلالة العامة الثابتة 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 | الوصف |
| --- | --- |
| حاوية | نوع حاوية المصدر. |

| Parameter | Type | الوصف |
| --- | --- | --- |
| المصدر | const container\& | مؤشر بيانات المصدر. |
| startIndex | int | فهرس بدء المصدر. |
| destination | void * | مؤشر بيانات الوجهة. |
| الطول | int | عدد العناصر للنسخ. |

## انظر أيضًا

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


يُنفّذ الدلالة العامة الثابتة 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 | الوصف |
| --- | --- |
| حاوية | نوع حاوية الوجهة. |

| Parameter | Type | الوصف |
| --- | --- | --- |
| المصدر | const IntPtr | مؤشر بيانات المصدر. |
| destination | container\&& | الحاوية لنسخ البيانات إليها. |
| startIndex | int | فهرس بدء المصدر. |
| الطول | int | عدد العناصر للنسخ. |

## انظر أيضًا

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


يُنفّذ الدلالة العامة الثابتة 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 | الوصف |
| --- | --- |
| حاوية | نوع حاوية الوجهة. |

| Parameter | Type | الوصف |
| --- | --- | --- |
| المصدر | const void * | مؤشر بيانات المصدر. |
| destination | container\&& | الحاوية لنسخ البيانات إليها. |
| startIndex | int | فهرس بدء المصدر. |
| الطول | int | عدد العناصر للنسخ. |

## انظر أيضًا

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