Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Marshal::Copy Method

 

Copies data from a managed array to an unmanaged memory pointer, or from an unmanaged memory pointer to a managed array.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCopy(array<Byte>^, Int32, IntPtr, Int32)

Copies data from a one-dimensional, managed 8-bit unsigned integer array to an unmanaged memory pointer.

System_CAPS_pubmethodSystem_CAPS_staticCopy(array<Char>^, Int32, IntPtr, Int32)

Copies data from a one-dimensional, managed character array to an unmanaged memory pointer.

System_CAPS_pubmethodSystem_CAPS_staticCopy(array<Double>^, Int32, IntPtr, Int32)

Copies data from a one-dimensional, managed double-precision floating-point number array to an unmanaged memory pointer.

System_CAPS_pubmethodSystem_CAPS_staticCopy(array<Int16>^, Int32, IntPtr, Int32)

Copies data from a one-dimensional, managed 16-bit signed integer array to an unmanaged memory pointer.

System_CAPS_pubmethodSystem_CAPS_staticCopy(array<Int32>^, Int32, IntPtr, Int32)

Copies data from a one-dimensional, managed 32-bit signed integer array to an unmanaged memory pointer.

System_CAPS_pubmethodSystem_CAPS_staticCopy(array<Int64>^, Int32, IntPtr, Int32)

Copies data from a one-dimensional, managed 64-bit signed integer array to an unmanaged memory pointer.

System_CAPS_pubmethodSystem_CAPS_staticCopy(IntPtr, array<Byte>^, Int32, Int32)

Copies data from an unmanaged memory pointer to a managed 8-bit unsigned integer array.

System_CAPS_pubmethodSystem_CAPS_staticCopy(IntPtr, array<Char>^, Int32, Int32)

Copies data from an unmanaged memory pointer to a managed character array.

System_CAPS_pubmethodSystem_CAPS_staticCopy(IntPtr, array<Double>^, Int32, Int32)

Copies data from an unmanaged memory pointer to a managed double-precision floating-point number array.

System_CAPS_pubmethodSystem_CAPS_staticCopy(IntPtr, array<Int16>^, Int32, Int32)

Copies data from an unmanaged memory pointer to a managed 16-bit signed integer array.

System_CAPS_pubmethodSystem_CAPS_staticCopy(IntPtr, array<Int32>^, Int32, Int32)

Copies data from an unmanaged memory pointer to a managed 32-bit signed integer array.

System_CAPS_pubmethodSystem_CAPS_staticCopy(IntPtr, array<Int64>^, Int32, Int32)

Copies data from an unmanaged memory pointer to a managed 64-bit signed integer array.

System_CAPS_pubmethodSystem_CAPS_staticCopy(IntPtr, array<IntPtr>^, Int32, Int32)

Copies data from an unmanaged memory pointer to a managed IntPtr array.

System_CAPS_pubmethodSystem_CAPS_staticCopy(IntPtr, array<Single>^, Int32, Int32)

Copies data from an unmanaged memory pointer to a managed single-precision floating-point number array.

System_CAPS_pubmethodSystem_CAPS_staticCopy(array<IntPtr>^, Int32, IntPtr, Int32)

Copies data from a one-dimensional, managed IntPtr array to an unmanaged memory pointer.

System_CAPS_pubmethodSystem_CAPS_staticCopy(array<Single>^, Int32, IntPtr, Int32)

Copies data from a one-dimensional, managed single-precision floating-point number array to an unmanaged memory pointer.

Return to top
Show:
© 2017 Microsoft