Memory.SetMemory 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.
Overloads
| SetMemory(Byte*, Byte, Int64) | |
| SetMemory(Char*, Char, Int64) | |
| SetMemory(Byte[], Int64, Byte, Int64) | |
| SetMemory(Char[], Int64, Char, Int64) |
SetMemory(Byte*, Byte, Int64)
public:
static void SetMemory(System::Byte* destination, System::Byte setValue, long setCount);
public static void SetMemory (byte* destination, byte setValue, long setCount);
static member SetMemory : nativeptr<byte> * byte * int64 -> unit
Parameters
- destination
- Byte*
- setValue
- Byte
- setCount
- Int64
Applies to
SetMemory(Char*, Char, Int64)
SetMemory(Byte[], Int64, Byte, Int64)
public:
static void SetMemory(cli::array <System::Byte> ^ destination, long startIndex, System::Byte setValue, long setCount);
public static void SetMemory (byte[] destination, long startIndex, byte setValue, long setCount);
static member SetMemory : byte[] * int64 * byte * int64 -> unit
Public Shared Sub SetMemory (destination As Byte(), startIndex As Long, setValue As Byte, setCount As Long)
Parameters
- destination
- Byte[]
- startIndex
- Int64
- setValue
- Byte
- setCount
- Int64
Applies to
SetMemory(Char[], Int64, Char, Int64)
public:
static void SetMemory(cli::array <char> ^ destination, long startIndex, char setValue, long setCount);
public static void SetMemory (char[] destination, long startIndex, char setValue, long setCount);
static member SetMemory : char[] * int64 * char * int64 -> unit
Public Shared Sub SetMemory (destination As Char(), startIndex As Long, setValue As Char, setCount As Long)
Parameters
- destination
- Char[]
- startIndex
- Int64
- setValue
- Char
- setCount
- Int64