NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Marshal.Copy

[To be supplied.]

Overload List

Copies an array of Int64s from the managed heap to the native heap.

[Visual Basic] Overloads Public Shared Sub Copy(Long(), Integer, Integer, Integer)
[C#] public static void Copy(long[], int, int, int);
[C++] public: static void Copy(__int64*[], int, int, int);
[JScript] public static function Copy(long[], int, int, int);

Copies an array of doubles from managed heap to native heap.

[Visual Basic] Overloads Public Shared Sub Copy(Double(), Integer, Integer, Integer)
[C#] public static void Copy(double[], int, int, int);
[C++] public: static void Copy(double*[], int, int, int);
[JScript] public static function Copy(double[], int, int, int);

Copies an array of floats from managed heap to native heap.

[Visual Basic] Overloads Public Shared Sub Copy(Single(), Integer, Integer, Integer)
[C#] public static void Copy(float[], int, int, int);
[C++] public: static void Copy(float*[], int, int, int);
[JScript] public static function Copy(float[], int, int, int);

Copies an array of int32s from managed heap to native heap.

[Visual Basic] Overloads Public Shared Sub Copy(Integer(), Integer, Integer, Integer)
[C#] public static void Copy(int[], int, int, int);
[C++] public: static void Copy(int*[], int*, int*, int*);
[JScript] public static function Copy(int[], int, int, int);

Copies an array of wide characters from managed heap to native heap.

[Visual Basic] Overloads Public Shared Sub Copy(Char(), Integer, Integer, Integer)
[C#] public static void Copy(char[], int, int, int);
[C++] public: static void Copy(__wchar_t*[], int, int, int);
[JScript] public static function Copy(Char[], int, int, int);

Copies an array of int16s from managed heap to native heap.

[Visual Basic] Overloads Public Shared Sub Copy(Integer(), Integer, Integer, Integer)
[C#] public static void Copy(short[], int, int, int);
[C++] public: static void Copy(short*[], int, int, int);
[JScript] public static function Copy(Int16[], int, int, int);

[To be supplied.]

[Visual Basic] Overloads Public Shared Sub Copy(Byte(), Integer, Integer, Integer)
[C#] public static void Copy(byte[], int, int, int);
[C++] public: static void Copy(unsigned char*[], int, int, int);
[JScript] public static function Copy(Byte[], int, int, int);

[To be supplied.]

[Visual Basic] Overloads Public Shared Sub Copy(Integer, Single(), Integer, Integer)
[C#] public static void Copy(int, float[], int, int);
[C++] public: static void Copy(int, float[], int, int);
[JScript] public static function Copy(int, float[], int, int);

Copies an array of int64s from native heap to managed heap.

[Visual Basic] Overloads Public Shared Sub Copy(Integer, Long(), Integer, Integer)
[C#] public static void Copy(int, long[], int, int);
[C++] public: static void Copy(int, __int64[], int, int);
[JScript] public static function Copy(int, long[], int, int);

Copies an array of unsigned chars from native heap to managed heap.

[Visual Basic] Overloads Public Shared Sub Copy(Integer, Byte(), Integer, Integer)
[C#] public static void Copy(int, byte[], int, int);
[C++] public: static void Copy(int, unsigned char[], int, int);
[JScript] public static function Copy(int, Byte[], int, int);

Copies an array of doubles from native heap to managed heap.

[Visual Basic] Overloads Public Shared Sub Copy(Integer, Double(), Integer, Integer)
[C#] public static void Copy(int, double[], int, int);
[C++] public: static void Copy(int, double[], int, int);
[JScript] public static function Copy(int, double[], int, int);

Copies an array of int32s from native heap to managed heap.

[Visual Basic] Overloads Public Shared Sub Copy(Integer, Integer(), Integer, Integer)
[C#] public static void Copy(int, int[], int, int);
[C++] public: static void Copy(int, int[], int, int);
[JScript] public static function Copy(int, int[], int, int);

Copies an array of wide characters from native heap to managed heap.

[Visual Basic] Overloads Public Shared Sub Copy(Integer, Char(), Integer, Integer)
[C#] public static void Copy(int, char[], int, int);
[C++] public: static void Copy(int, __wchar_t[], int, int);
[JScript] public static function Copy(int, Char[], int, int);

Copies an array of Int16s from native heap to managed heap.

[Visual Basic] Overloads Public Shared Sub Copy(Integer, Integer(), Integer, Integer)
[C#] public static void Copy(int, short[], int, int);
[C++] public: static void Copy(int, short[], int, int);
[JScript] public static function Copy(int, Int16[], int, int);

See Also

Marshal Class | Marshal Members | System.Runtime.InteropServices Namespace