System::Runtime::InteropServices::Marshal::Copy 메서드
Marshal::Copy(const container&, int, IntPtr, int) method
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)
| 매개변수 | 형식 | 설명 |
|---|
| 소스 | const container& | 소스 데이터 포인터. |
| startIndex | int | 소스 시작 인덱스. |
| destination | IntPtr | 대상 데이터 포인터. |
| 길이 | int | 복사할 요소 수. |
또 보기
Marshal::Copy(const container&, int, void *, int) method
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)
| 매개변수 | 형식 | 설명 |
|---|
| 소스 | const container& | 소스 데이터 포인터. |
| startIndex | int | 소스 시작 인덱스. |
| destination | void * | 대상 데이터 포인터. |
| 길이 | int | 복사할 요소 수. |
또 보기
Marshal::Copy(const IntPtr, container&&, int, int) method
public static void Copy(IntPtr source, byte[] destination, int startIndex, int length) 의미를 구현합니다.
template<typename container> static void System::Runtime::InteropServices::Marshal::Copy(const IntPtr source, container &&destination, int startIndex, int length)
| 매개변수 | 형식 | 설명 |
|---|
| 소스 | const IntPtr | 소스 데이터 포인터. |
| destination | container&& | 데이터를 복사할 컨테이너. |
| startIndex | int | 소스 시작 인덱스. |
| 길이 | int | 복사할 요소 수. |
또 보기
Marshal::Copy(const void *, container&&, int, int) method
public static void Copy(IntPtr source, byte[] destination, int startIndex, int length) 의미를 구현합니다.
template<typename container> static void System::Runtime::InteropServices::Marshal::Copy(const void *source, container &&destination, int startIndex, int length)
| 매개변수 | 형식 | 설명 |
|---|
| 소스 | const void * | 소스 데이터 포인터. |
| destination | container&& | 데이터를 복사할 컨테이너. |
| startIndex | int | 소스 시작 인덱스. |
| 길이 | int | 복사할 요소 수. |
또 보기