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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.