Export (0) Print
Expand All

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)


[MethodImplAttribute]
public static void InsertValueIntoArray (
         byte[] data,
         int pos,
         int size,
         UInt32 val
)

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.

This method overwrites existing data in the array.

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.

Community Additions

ADD
Show:
© 2014 Microsoft