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&소스 데이터 포인터.
startIndexint소스 시작 인덱스.
destinationIntPtr대상 데이터 포인터.
길이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&소스 데이터 포인터.
startIndexint소스 시작 인덱스.
destinationvoid *대상 데이터 포인터.
길이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소스 데이터 포인터.
destinationcontainer&&데이터를 복사할 컨테이너.
startIndexint소스 시작 인덱스.
길이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 *소스 데이터 포인터.
destinationcontainer&&데이터를 복사할 컨테이너.
startIndexint소스 시작 인덱스.
길이int복사할 요소 수.

또 보기