Επεξεργασία

Κοινή χρήση μέσω


StructuralObject.BinaryEquals(Byte[], Byte[]) Method

Definition

Determines whether the specified byte arrays contain identical values.

protected public:
 static bool BinaryEquals(cli::array <System::Byte> ^ first, cli::array <System::Byte> ^ second);
protected internal static bool BinaryEquals (byte[] first, byte[] second);
static member BinaryEquals : byte[] * byte[] -> bool
Protected Friend Shared Function BinaryEquals (first As Byte(), second As Byte()) As Boolean

Parameters

first
Byte[]

The first byte array value to compare.

second
Byte[]

The second byte array to compare.

Returns

true if both arrays are of the same length and contain the same byte values or if both arrays are null; otherwise, false.

Applies to