Share via


NativeMemory.Copy(Void*, Void*, UIntPtr) Yöntem

Tanım

Önemli

Bu API, CLS uyumlu değildir.

Bellek konumundan bellek konumuna source bir bellek destinationbloğu kopyalar.

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

Parametreler

source
Void*

Kopyalanacak veri kaynağının işaretçisi.

destination
Void*

Verilerin kopyalandığı hedef bellek bloğunun işaretçisi.

byteCount
UIntPtr

unativeint

Kaynak konumdan hedefe kopyalanacak bayt cinsinden boyut.

Öznitelikler

Şunlara uygulanır