Utility.InsertValueIntoArray Method
Inserts a value at a specified position in a byte array.
Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)
Syntax
[MethodImplAttribute]
public static void InsertValueIntoArray (
byte[] data,
intpos,
intsize,
UInt32val
)
Parameters
- data
The array into which you want to insert the specified value. - pos
The position in the array where you want to insert the specified value. - size
The size of the data objects contained in the array, in bytes. Valid arguments for this parameter are 1, 2, and 4. - val
The value you want to insert into the array.
Remarks
This method overwrites existing data in the array.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.
See Also
Reference
Utility Class
Utility Members
Microsoft.SPOT.Hardware Namespace