StructuralObject.BinaryEquals(Byte[], Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.