Share via


CombineArrays Method (Byte[], Byte[])

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Combines all of the data from two arrays of bytes into one array.

Namespace:  Microsoft.SPOT.Hardware
Assembly:  Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)

Syntax

'Declaration
Public Shared Function CombineArrays ( _
    src1 As Byte(), _
    src2 As Byte() _
) As Byte()
public static byte[] CombineArrays(
    byte[] src1,
    byte[] src2
)
public:
static array<unsigned char>^ CombineArrays(
    array<unsigned char>^ src1, 
    array<unsigned char>^ src2
)
static member CombineArrays : 
        src1:byte[] * 
        src2:byte[] -> byte[] 
public static function CombineArrays(
    src1 : byte[], 
    src2 : byte[]
) : byte[]

Parameters

  • src1
    Type: array<System. . :: . .Byte> [] () [] []
    The first array you want to combine with another array.
  • src2
    Type: array<System. . :: . .Byte> [] () [] []
    The second array you want to combine with another array.

Return Value

Type: array<System. . :: . .Byte> [] () [] []
A new array of bytes that contains two specified arrays.

Remarks

This method combines two arrays by appending the second array at the end of the first array.

.NET Framework Security

See Also

Reference

Utility Class

CombineArrays Overload

Microsoft.SPOT.Hardware Namespace