Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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)

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


The array into which you want to insert the specified value.
The position in the array where you want to insert the specified value.
The size of the data objects contained in the array, in bytes. Valid arguments for this parameter are 1, 2, and 4.
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

© 2015 Microsoft