NativeMemory.Fill(Void*, UIntPtr, Byte) Método

Definição

Importante

Esta API não está em conformidade com CLS.

Copia o byte value para os primeiros byteCount bytes da memória localizados em 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

Parâmetros

ptr
Void*

Um apontador para o bloco de memória a preencher.

byteCount
UIntPtr

unativeint

O número de bytes a definir para value.

value
Byte

O valor a definir.

Atributos

Aplica-se a