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)
| パラメーター | 型 | 説明 |
|---|
| source | const container& | ソース データ ポインタ。 |
| startIndex | int | ソース開始インデックス。 |
| destination | IntPtr | 宛先データ ポインタ。 |
| length | 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)
| パラメーター | 型 | 説明 |
|---|
| source | const container& | ソース データ ポインタ。 |
| startIndex | int | ソース開始インデックス。 |
| destination | void * | 宛先データ ポインタ。 |
| length | 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)
| パラメーター | 型 | 説明 |
|---|
| source | const IntPtr | ソース データ ポインタ。 |
| destination | container&& | データをコピーするコンテナ。 |
| startIndex | int | ソース開始インデックス。 |
| length | 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)
| パラメーター | 型 | 説明 |
|---|
| source | const void * | ソース データ ポインタ。 |
| destination | container&& | データをコピーするコンテナ。 |
| startIndex | int | ソース開始インデックス。 |
| length | int | コピーする要素数。 |
参照