NativeMemory.Fill(Void*, UIntPtr, Byte) 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 the byte value
to the first byteCount
bytes of the memory located at 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
Parameters
- ptr
- Void*
A pointer to the block of memory to fill.
- byteCount
-
UIntPtr
unativeint
The number of bytes to be set to value
.
- value
- Byte
The value to be set.
- Attributes
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.