Marshal::Copy Method (array<IntPtr>^, Int32, IntPtr, Int32)
Copies data from a one-dimensional, managed IntPtr array to an unmanaged memory pointer.
Assembly: mscorlib (in mscorlib.dll)
public: [SecurityCriticalAttribute] static void Copy( array<IntPtr>^ source, int startIndex, IntPtr destination, int length )
The one-dimensional array to copy from.
The zero-based index in the source array where copying should start.
The memory pointer to copy to.
The number of array elements to copy.
source, destination, startIndex, or length is null.
You can use this method to copy a subset of a one-dimensional managed IntPtr array to an unmanaged C-style array.
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.
Available since 8
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Available since 8.1