NativeMemory.Copy(Void*, Void*, UIntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Important
This API is not CLS-compliant.
Copies a block of memory from memory location source
to memory location destination
.
public:
static void Copy(void* source, void* destination, UIntPtr byteCount);
[System.CLSCompliant(false)]
public static void Copy (void* source, void* destination, UIntPtr byteCount);
[<System.CLSCompliant(false)>]
static member Copy : nativeptr<unit> * nativeptr<unit> * unativeint -> unit
Parameters
- source
- Void*
A pointer to the source of data to be copied.
- destination
- Void*
A pointer to the destination memory block where the data is to be copied.
- byteCount
-
UIntPtr
unativeint
The size, in bytes, to be copied from the source location to the destination.
- Attributes
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.