Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Binary.Equality Operator

Describes the equality relationship between two binary objects.

Namespace:  System.Data.Linq
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

public static bool operator ==(
	Binary binary1,
	Binary binary2


Type: System.Data.Linq.Binary

First binary object.

Type: System.Data.Linq.Binary

Second binary object.

Return Value

Type: System.Boolean
true if the binary objects are equal; otherwise false.

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft