Marshal.Copy Method (Single, Int32, IntPtr, Int32)
Copies data from a one-dimensional, managed single-precision floating-point number array to an unmanaged memory pointer.
Assembly: mscorlib (in mscorlib.dll)
[SecurityCriticalAttribute] public static void Copy( float 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.
You can use this method to copy a subset of a one-dimensional managed 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 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8.1