Aracılığıyla paylaş


NativeMemory.Fill(Void*, UIntPtr, Byte) Yöntem

Tanım

Önemli

Bu API, CLS uyumlu değildir.

Bayt value değerini konumunda bulunan ptrbelleğin ilk byteCount baytlarına kopyalar.

public:
 static void Fill(void* ptr, UIntPtr byteCount, System::Byte value);
[System.CLSCompliant(false)]
public static void Fill (void* ptr, UIntPtr byteCount, byte value);
[<System.CLSCompliant(false)>]
static member Fill : nativeptr<unit> * unativeint * byte -> unit

Parametreler

ptr
Void*

Doldurulacak bellek bloğunun işaretçisi.

byteCount
UIntPtr

unativeint

olarak ayarlanacak valuebayt sayısı.

value
Byte

Ayarlanacak değer.

Öznitelikler

Şunlara uygulanır