Binary.Equality(Binary, Binary) Operator

Definition

Describes the equality relationship between two binary objects.

C#
public static bool operator ==(System.Data.Linq.Binary binary1, System.Data.Linq.Binary binary2);

Parameters

binary1
Binary

First binary object.

binary2
Binary

Second binary object.

Returns

true if the binary objects are equal; otherwise false.

Remarks

Returns true if both are null but returns false if only one is null.

Applies to

Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1