Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Marshal.Copy Method

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member Copy(Byte[], Int32, IntPtr, Int32) Copies data from a one-dimensional, managed 8-bit unsigned integer array to an unmanaged memory pointer.
Public method Static member Copy(Char[], Int32, IntPtr, Int32) Copies data from a one-dimensional, managed character array to an unmanaged memory pointer.
Public method Static member Copy(Double[], Int32, IntPtr, Int32) Copies data from a one-dimensional, managed double-precision floating-point number array to an unmanaged memory pointer.
Public method Static member Copy(Int16[], Int32, IntPtr, Int32) Copies data from a one-dimensional, managed 16-bit signed integer array to an unmanaged memory pointer.
Public method Static member Copy(Int32[], Int32, IntPtr, Int32) Copies data from a one-dimensional, managed 32-bit signed integer array to an unmanaged memory pointer.
Public method Static member Copy(Int64[], Int32, IntPtr, Int32) Copies data from a one-dimensional, managed 64-bit signed integer array to an unmanaged memory pointer.
Public method Static member Copy(IntPtr, Byte[], Int32, Int32) Copies data from an unmanaged memory pointer to a managed 8-bit unsigned integer array.
Public method Static member Copy(IntPtr, Char[], Int32, Int32) Copies data from an unmanaged memory pointer to a managed character array.
Public method Static member Copy(IntPtr, Double[], Int32, Int32) Copies data from an unmanaged memory pointer to a managed double-precision floating-point number array.
Public method Static member Copy(IntPtr, Int16[], Int32, Int32) Copies data from an unmanaged memory pointer to a managed 16-bit signed integer array.
Public method Static member Copy(IntPtr, Int32[], Int32, Int32) Copies data from an unmanaged memory pointer to a managed 32-bit signed integer array.
Public method Static member Copy(IntPtr, Int64[], Int32, Int32) Copies data from an unmanaged memory pointer to a managed 64-bit signed integer array.
Public method Static member Copy(IntPtr, IntPtr[], Int32, Int32) Copies data from an unmanaged memory pointer to a managed IntPtr array.
Public method Static member Copy(IntPtr, Single[], Int32, Int32) Copies data from an unmanaged memory pointer to a managed single-precision floating-point number array.
Public method Static member Copy(IntPtr[], Int32, IntPtr, Int32) Copies data from a one-dimensional, managed IntPtr array to an unmanaged memory pointer.
Public method Static member Copy(Single[], Int32, IntPtr, Int32) Copies data from a one-dimensional, managed single-precision floating-point number array to an unmanaged memory pointer.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.