NativeMemory.Fill(Void*, UIntPtr, Byte) Metod

Definition

Viktigt!

Detta API uppfyller inte CLS.

Kopierar bytet value till de första byteCount byteen av minnet som finns på ptr.

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

Parametrar

ptr
Void*

En pekare till det minnesblock som ska fyllas.

byteCount
UIntPtr

unativeint

Antalet byte som ska anges till value.

value
Byte

Värdet som ska anges.

Attribut

Gäller för