System::Runtime::InteropServices::Marshal::Copy method
Marshal::Copy(const container&, int, IntPtr, int) method
Implementeert 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 | Beschrijving |
|---|
| container | Broncontainer type. |
| Parameter | Type | Beschrijving |
|---|
| source | const container& | Brongegevenspointer. |
| startIndex | int | Beginindex van bron. |
| doel | IntPtr | Doelgegevenspointer. |
| lengte | int | Aantal elementen om te kopiëren. |
Zie ook
Marshal::Copy(const container&, int, void *, int) method
Implementeert 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 | Beschrijving |
|---|
| container | Broncontainer type. |
| Parameter | Type | Beschrijving |
|---|
| source | const container& | Brongegevenspointer. |
| startIndex | int | Beginindex van bron. |
| doel | void * | Doelgegevenspointer. |
| lengte | int | Aantal elementen om te kopiëren. |
Zie ook
Marshal::Copy(const IntPtr, container&&, int, int) method
Implementeert public static void Copy(IntPtr source, byte[] destination, int startIndex, int length) semantics.
template<typename container> static void System::Runtime::InteropServices::Marshal::Copy(const IntPtr source, container &&destination, int startIndex, int length)
| Parameter | Beschrijving |
|---|
| container | Doelcontainertype. |
| Parameter | Type | Beschrijving |
|---|
| source | const IntPtr | Brongegevenspointer. |
| doel | container&& | Container om gegevens in te kopiëren. |
| startIndex | int | Beginindex van bron. |
| lengte | int | Aantal elementen om te kopiëren. |
Zie ook
Marshal::Copy(const void *, container&&, int, int) method
Implementeert public static void Copy(IntPtr source, byte[] destination, int startIndex, int length) semantics.
template<typename container> static void System::Runtime::InteropServices::Marshal::Copy(const void *source, container &&destination, int startIndex, int length)
| Parameter | Beschrijving |
|---|
| container | Doelcontainertype. |
| Parameter | Type | Beschrijving |
|---|
| source | const void * | Brongegevenspointer. |
| doel | container&& | Container om gegevens in te kopiëren. |
| startIndex | int | Beginindex van bron. |
| lengte | int | Aantal elementen om te kopiëren. |
Zie ook