Export (0) Print
Expand All

Marshal.Copy Method

This type can be used only by trusted applications. If you try to use its members in a partial-trust application, your code will throw a MethodAccessException exception. This type is security-critical, which restricts its use.
[SECURITY CRITICAL]

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.

  NameDescription
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Copy(Byte[], Int32, IntPtr, Int32) Security Critical. Copies data from a one-dimensional, managed 8-bit unsigned integer array to an unmanaged memory pointer.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Copy(Char[], Int32, IntPtr, Int32) Security Critical. Copies data from a one-dimensional, managed character array to an unmanaged memory pointer.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Copy(Double[], Int32, IntPtr, Int32) Security Critical. Copies data from a one-dimensional, managed double-precision floating-point number array to an unmanaged memory pointer.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Copy(Int16[], Int32, IntPtr, Int32) Security Critical. Copies data from a one-dimensional, managed 16-bit signed integer array to an unmanaged memory pointer.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Copy(Int32[], Int32, IntPtr, Int32) Security Critical. Copies data from a one-dimensional, managed 32-bit signed integer array to an unmanaged memory pointer.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Copy(Int64[], Int32, IntPtr, Int32) Security Critical. Copies data from a one-dimensional, managed 64-bit signed integer array to an unmanaged memory pointer.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Copy(IntPtr, Byte[], Int32, Int32) Security Critical. Copies data from an unmanaged memory pointer to a managed 8-bit unsigned integer array.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Copy(IntPtr, Char[], Int32, Int32) Security Critical. Copies data from an unmanaged memory pointer to a managed character array.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Copy(IntPtr, Double[], Int32, Int32) Security Critical. Copies data from an unmanaged memory pointer to a managed double-precision floating-point number array.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Copy(IntPtr, Int16[], Int32, Int32) Security Critical. Copies data from an unmanaged memory pointer to a managed 16-bit signed integer array.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Copy(IntPtr, Int32[], Int32, Int32) Security Critical. Copies data from an unmanaged memory pointer to a managed 32-bit signed integer array.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Copy(IntPtr, Int64[], Int32, Int32) Security Critical. Copies data from an unmanaged memory pointer to a managed 64-bit signed integer array.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Copy(IntPtr, Single[], Int32, Int32) Security Critical. Copies data from an unmanaged memory pointer to a managed single-precision floating-point number array.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Copy(Single[], Int32, IntPtr, Int32) Security Critical. Copies data from a one-dimensional, managed single-precision floating-point number array to an unmanaged memory pointer.
Top

Community Additions

ADD
Show:
© 2014 Microsoft